	.file	"extr_bhnd_subr.c_bhnd_sort_devices.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"unknown sort order: %d\n"
	.text
	.p2align 4
	.globl	bhnd_sort_devices
	.type	bhnd_sort_devices, @function
bhnd_sort_devices:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	r8, rsi
	cmp	edx, 128
	je	.L4
	cmp	edx, 129
	je	.L5
	mov	esi, edx
	lea	rdi, .LC0[rip]
	call	printf@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rcx, QWORD PTR compare_ascending_probe_order@GOTPCREL[rip]
.L2:
	mov	edx, 4
	mov	rsi, r8
	call	qsort@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rcx, QWORD PTR compare_descending_probe_order@GOTPCREL[rip]
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	bhnd_sort_devices, .-bhnd_sort_devices
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_bhnd_subr.c_bhnd_sort_devices.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unknown sort order: %d\012\000"
	.text
	.align	2
	.global	bhnd_sort_devices
	.syntax unified
	.arm
	.fpu softvfp
	.type	bhnd_sort_devices, %function
bhnd_sort_devices:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #128
	push	{r4, lr}
	beq	.L4
	cmp	r2, #129
	beq	.L5
	mov	r1, r2
	ldr	r0, .L8
	bl	printf
	ldr	r3, .L8+4
	ldr	r0, [r3]
	pop	{r4, pc}
.L5:
	ldr	r3, .L8+8
.L2:
	mov	r2, #4
	bl	qsort
	mov	r0, #0
	pop	{r4, pc}
.L4:
	ldr	r3, .L8+12
	b	.L2
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	EINVAL
	.word	compare_ascending_probe_order
	.word	compare_descending_probe_order
	.size	bhnd_sort_devices, .-bhnd_sort_devices
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
