	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2sbus_control_enable          ## -- Begin function i2sbus_control_enable
	.p2align	4, 0x90
_i2sbus_control_enable:                 ## @i2sbus_control_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	%rdi, %rax
	movl	$0, -8(%rbp)
	movq	8(%rsi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	leaq	-8(%rbp), %rsi
	callq	_pmf_call_one
	jmp	LBB0_10
LBB0_2:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.4:
	movl	(%rsi), %eax
	cmpl	$1, %eax
	je	LBB0_8
## %bb.5:
	testl	%eax, %eax
	jne	LBB0_9
## %bb.6:
	movq	_KEYLARGO_FCR1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_KL1_I2S0_ENABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_9:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
LBB0_8:
	movq	_KEYLARGO_FCR1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_KL1_I2S1_ENABLE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	callq	_MACIO_BIS
	xorl	%eax, %eax
LBB0_10:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_KEYLARGO_FCR1,4,2              ## @KEYLARGO_FCR1
	.comm	_KL1_I2S0_ENABLE,4,2            ## @KL1_I2S0_ENABLE
	.comm	_KL1_I2S1_ENABLE,4,2            ## @KL1_I2S1_ENABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2sbus_control_enable          ; -- Begin function i2sbus_control_enable
	.p2align	2
_i2sbus_control_enable:                 ; @i2sbus_control_enable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x0
	str	wzr, [sp, #8]
	ldr	x0, [x1, #8]
	cbz	x0, LBB0_2
; %bb.1:
	add	x1, sp, #8
	bl	_pmf_call_one
	b	LBB0_10
LBB0_2:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.3:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.4:
	ldr	w8, [x1]
	cmp	w8, #1
	b.eq	LBB0_8
; %bb.5:
	cbnz	w8, LBB0_7
; %bb.6:
Lloh0:
	adrp	x8, _KEYLARGO_FCR1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KEYLARGO_FCR1@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _KL1_I2S0_ENABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KL1_I2S0_ENABLE@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh5:
	adrp	x8, _ENODEV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_8:
Lloh8:
	adrp	x8, _KEYLARGO_FCR1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _KEYLARGO_FCR1@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _KL1_I2S1_ENABLE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _KL1_I2S1_ENABLE@GOTPAGEOFF]
LBB0_9:
	ldr	w1, [x8]
	bl	_MACIO_BIS
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_KEYLARGO_FCR1,4,2              ; @KEYLARGO_FCR1
	.comm	_KL1_I2S0_ENABLE,4,2            ; @KL1_I2S0_ENABLE
	.comm	_KL1_I2S1_ENABLE,4,2            ; @KL1_I2S1_ENABLE
.subsections_via_symbols
