	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2sbus_control_add_dev         ## -- Begin function i2sbus_control_add_dev
	.p2align	4, 0x90
_i2sbus_control_add_dev:                ## @i2sbus_control_add_dev
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	48(%rsi), %r15
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_pmf_find_function
	movq	%rax, 40(%rbx)
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_pmf_find_function
	movq	%rax, 32(%rbx)
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_pmf_find_function
	movq	%rax, 24(%rbx)
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_pmf_find_function
	movq	%rax, 16(%rbx)
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_pmf_find_function
	movq	%rax, 8(%rbx)
	cmpl	$2, (%rbx)
	jae	LBB0_1
LBB0_7:
	addq	$4, %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_list_add
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_1:
	movq	40(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.2:
	cmpq	$0, 32(%rbx)
	je	LBB0_6
## %bb.3:
	cmpq	$0, 24(%rbx)
	je	LBB0_6
## %bb.4:
	cmpq	$0, 16(%rbx)
	je	LBB0_6
## %bb.5:
	testq	%rax, %rax
	jne	LBB0_7
LBB0_6:
	callq	_pmf_put_function
	movq	32(%rbx), %rdi
	callq	_pmf_put_function
	movq	24(%rbx), %rdi
	callq	_pmf_put_function
	movq	16(%rbx), %rdi
	callq	_pmf_put_function
	movq	8(%rbx), %rdi
	callq	_pmf_put_function
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enable"

L_.str.1:                               ## @.str.1
	.asciz	"cell-enable"

L_.str.2:                               ## @.str.2
	.asciz	"clock-enable"

L_.str.3:                               ## @.str.3
	.asciz	"cell-disable"

L_.str.4:                               ## @.str.4
	.asciz	"clock-disable"

	.comm	_ENODEV,4,2                     ## @ENODEV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2sbus_control_add_dev         ; -- Begin function i2sbus_control_add_dev
	.p2align	2
_i2sbus_control_add_dev:                ; @i2sbus_control_add_dev
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x1, #48]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_pmf_find_function
	str	x0, [x19, #40]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_pmf_find_function
	str	x0, [x19, #32]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_pmf_find_function
	str	x0, [x19, #24]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_pmf_find_function
	str	x0, [x19, #16]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_pmf_find_function
	str	x0, [x19, #8]
	ldr	w8, [x19]
	cmp	w8, #2
	b.hs	LBB0_2
LBB0_1:
	add	x0, x19, #4
	mov	x1, x20
	bl	_list_add
	mov	w0, #0
	b	LBB0_8
LBB0_2:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_7
; %bb.3:
	ldr	x9, [x19, #32]
	cbz	x9, LBB0_7
; %bb.4:
	ldr	x9, [x19, #24]
	cbz	x9, LBB0_7
; %bb.5:
	ldr	x9, [x19, #16]
	cbz	x9, LBB0_7
; %bb.6:
	cbnz	x0, LBB0_1
LBB0_7:
	mov	x0, x8
	bl	_pmf_put_function
	ldr	x0, [x19, #32]
	bl	_pmf_put_function
	ldr	x0, [x19, #24]
	bl	_pmf_put_function
	ldr	x0, [x19, #16]
	bl	_pmf_put_function
	ldr	x0, [x19, #8]
	bl	_pmf_put_function
Lloh10:
	adrp	x8, _ENODEV@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enable"

l_.str.1:                               ; @.str.1
	.asciz	"cell-enable"

l_.str.2:                               ; @.str.2
	.asciz	"clock-enable"

l_.str.3:                               ; @.str.3
	.asciz	"cell-disable"

l_.str.4:                               ; @.str.4
	.asciz	"clock-disable"

	.comm	_ENODEV,4,2                     ; @ENODEV
.subsections_via_symbols
