	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function synchronized_process_adapters
_synchronized_process_adapters:         ## @synchronized_process_adapters
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_adapters@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_OSFastMutex_Lock
	movq	8(%r15), %r12
	testq	%r12, %r12
	je	LBB0_10
## %bb.1:
	xorl	%r14d, %r14d
	leaq	LJTI0_0(%rip), %r13
	jmp	LBB0_2
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_RARCH_ERR
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r14
	testq	%r12, %r12
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rbx
	movq	8(%r12), %r12
	movl	(%rbx), %esi
	leal	-128(%rsi), %eax
	cmpl	$4, %eax
	ja	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r13,%rax,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_try_init_driver
	movl	%eax, (%rbx)
	jmp	LBB0_9
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rax
	testq	%r14, %r14
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, 8(%rax)
	movq	%rbx, %rdi
	callq	_delete_adapter
	movq	%r14, %rbx
	jmp	LBB0_9
LBB0_10:
	movq	_adapters@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_OSFastMutex_Unlock             ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_adapters,16,3                  ## @adapters
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[hid]: Invalid adapter state: %d\n"

	.no_dead_strip	_synchronized_process_adapters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function synchronized_process_adapters
_synchronized_process_adapters:         ; @synchronized_process_adapters
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x20, _adapters@GOTPAGE
Lloh1:
	ldr	x20, [x20, _adapters@GOTPAGEOFF]
	mov	x0, x20
	bl	_OSFastMutex_Lock
	ldr	x21, [x20, #8]
	cbz	x21, LBB0_8
; %bb.1:
	mov	x24, #0
Lloh2:
	adrp	x19, l_.str@PAGE
Lloh3:
	add	x19, x19, l_.str@PAGEOFF
	add	x22, x20, #8
Lloh4:
	adrp	x23, lJTI0_0@PAGE
Lloh5:
	add	x23, x23, lJTI0_0@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_RARCH_ERR
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x20
	cbz	x21, LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x20, x21
	ldr	x21, [x21, #8]
	ldr	w1, [x20]
	sub	w8, w1, #128
	cmp	w8, #4
	b.hi	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x9, LBB0_3
	ldrb	w10, [x23, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_try_init_driver
	str	w0, [x20]
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x24, #8
	cmp	x24, #0
	csel	x8, x22, x8, eq
	str	x21, [x8]
	mov	x0, x20
	bl	_delete_adapter
	mov	x20, x24
	b	LBB0_3
LBB0_8:
Lloh6:
	adrp	x0, _adapters@GOTPAGE
Lloh7:
	ldr	x0, [x0, _adapters@GOTPAGEOFF]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_OSFastMutex_Unlock
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
                                        ; -- End function
	.comm	_adapters,16,3                  ; @adapters
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[hid]: Invalid adapter state: %d\n"

	.no_dead_strip	_synchronized_process_adapters
.subsections_via_symbols
