	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hw_device_get_by_type
_hw_device_get_by_type:                 ## @hw_device_get_by_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_nb_hw_devices@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	testl	%r8d, %r8d
	jle	LBB0_6
## %bb.1:
	movq	_hw_devices@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %rax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	movq	%rax, %rcx
	cmpq	%rsi, %r8
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rsi,8), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%rcx, %rcx
	je	LBB0_4
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nb_hw_devices,4,2              ## @nb_hw_devices
	.comm	_hw_devices,8,3                 ## @hw_devices
	.no_dead_strip	_hw_device_get_by_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hw_device_get_by_type
_hw_device_get_by_type:                 ; @hw_device_get_by_type
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _nb_hw_devices@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nb_hw_devices@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x11, #0
Lloh3:
	adrp	x8, _hw_devices@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hw_devices@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x8]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x11
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x10, #8
	mov	x11, x8
	subs	x9, x9, #1
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x10]
	ldr	w12, [x8]
	cmp	w12, w0
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x11, LBB0_3
LBB0_6:
	mov	x8, #0
LBB0_7:
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_nb_hw_devices,4,2              ; @nb_hw_devices
	.comm	_hw_devices,8,3                 ; @hw_devices
	.no_dead_strip	_hw_device_get_by_type
.subsections_via_symbols
