	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alc_probe_headset_mode
_alc_probe_headset_mode:                ## @alc_probe_headset_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movl	16(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_9
## %bb.1:
	movq	24(%rax), %rcx
	shlq	$3, %rdx
	leaq	(%rdx,%rdx,2), %rdx
	xorl	%esi, %esi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$24, %rsi
	cmpq	%rsi, %rdx
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 16(%rcx,%rsi)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 40(%rax)
	je	LBB0_4
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 8(%rcx,%rsi)
	je	LBB0_8
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 32(%rax)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rcx,%rsi), %rdi
	movq	%rdi, 32(%rax)
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rcx,%rsi), %rdi
	movq	%rdi, 40(%rax)
	cmpq	$0, 8(%rcx,%rsi)
	jne	LBB0_6
	jmp	LBB0_8
LBB0_9:
	movq	_alc_update_headset_mode_hook@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	_alc_update_headset_mode@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	_alc_update_headset_jack_cb@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_alc_update_headset_mode_hook,4,2 ## @alc_update_headset_mode_hook
	.comm	_alc_update_headset_mode,4,2    ## @alc_update_headset_mode
	.comm	_alc_update_headset_jack_cb,4,2 ## @alc_update_headset_jack_cb
	.no_dead_strip	_alc_probe_headset_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alc_probe_headset_mode
_alc_probe_headset_mode:                ; @alc_probe_headset_mode
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w9, [x8, #16]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.1:
	ldr	x10, [x8, #24]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #24
	subs	x9, x9, #1
	b.eq	LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10, #16]
	cbz	x11, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x8, #40]
	cbz	x11, LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x10, #8]
	cbz	x11, LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x8, #32]
	cbnz	x11, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x10]
	str	x11, [x8, #32]
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x10]
	str	x11, [x8, #40]
	ldr	x11, [x10, #8]
	cbnz	x11, LBB0_6
	b	LBB0_2
LBB0_9:
Lloh0:
	adrp	x9, _alc_update_headset_mode_hook@GOTPAGE
Lloh1:
	ldr	x9, [x9, _alc_update_headset_mode_hook@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [x8, #8]
Lloh3:
	adrp	x9, _alc_update_headset_mode@GOTPAGE
Lloh4:
	ldr	x9, [x9, _alc_update_headset_mode@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _alc_update_headset_jack_cb@GOTPAGE
Lloh7:
	ldr	x10, [x10, _alc_update_headset_jack_cb@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	stp	w10, w9, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_alc_update_headset_mode_hook,4,2 ; @alc_update_headset_mode_hook
	.comm	_alc_update_headset_mode,4,2    ; @alc_update_headset_mode
	.comm	_alc_update_headset_jack_cb,4,2 ; @alc_update_headset_jack_cb
	.no_dead_strip	_alc_probe_headset_mode
.subsections_via_symbols
