	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pdacf_ak4117_create        ## -- Begin function snd_pdacf_ak4117_create
	.p2align	4, 0x90
_snd_pdacf_ak4117_create:               ## @snd_pdacf_ak4117_create
	.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	%rdi, %r14
	xorl	%esi, %esi
	callq	_pdacf_reset
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movl	8(%r14), %edi
	movq	_pdacf_ak4117_read@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_pdacf_ak4117_write@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	_snd_pdacf_ak4117_create.pgm(%rip), %rcx
	movq	%r14, %r8
	movq	%r14, %r9
	callq	_snd_ak4117_create
	testl	%eax, %eax
	js	LBB0_4
## %bb.2:
	movq	_PDAUDIOCF_REG_TCR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_pdacf_reg_read
	movq	_PDAUDIOCF_ELIMAKMBIT@GOTPCREL(%rip), %rcx
	movq	_PDAUDIOCF_TESTDATASEL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_pdacf_reg_write
	movq	_PDAUDIOCF_REG_SCR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_pdacf_reg_read
	movq	_PDAUDIOCF_CLKDIV0@GOTPCREL(%rip), %rcx
	movq	_PDAUDIOCF_CLKDIV1@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	_PDAUDIOCF_RED_LED_OFF@GOTPCREL(%rip), %rdx
	orl	(%rcx), %esi
	orl	(%rdx), %esi
	movq	_PDAUDIOCF_BLUE_LED_OFF@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movq	_PDAUDIOCF_DATAFMT0@GOTPCREL(%rip), %rax
	movq	_PDAUDIOCF_DATAFMT1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	orl	%esi, %edx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_pdacf_reg_write
	movq	_PDAUDIOCF_REG_IER@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_pdacf_reg_read
	movq	_PDAUDIOCF_IRQLVLEN0@GOTPCREL(%rip), %rcx
	movq	_PDAUDIOCF_IRQLVLEN1@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	_PDAUDIOCF_BLUEDUTY0@GOTPCREL(%rip), %rdx
	movq	_PDAUDIOCF_REDDUTY0@GOTPCREL(%rip), %rdi
	movq	_PDAUDIOCF_REDDUTY1@GOTPCREL(%rip), %rbx
	orl	(%rcx), %esi
	orl	(%rdx), %esi
	orl	(%rdi), %esi
	orl	(%rbx), %esi
	notl	%esi
	andl	%eax, %esi
	movq	_PDAUDIOCF_BLUEDUTY1@GOTPCREL(%rip), %rax
	movq	_PDAUDIOCF_HALFRATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_PDAUDIOCF_IRQOVREN@GOTPCREL(%rip), %rax
	orl	%esi, %edx
	orl	(%rax), %edx
	movq	_PDAUDIOCF_IRQAKMEN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_pdacf_reg_write
	movq	(%r14), %rdi
	movq	%r14, 8(%rdi)
	movq	_snd_pdacf_ak4117_change@GOTPCREL(%rip), %rax
	movq	%rax, (%rdi)
	movq	_AK4117_UNLCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_snd_pdacf_ak4117_change
	jmp	LBB0_5
LBB0_4:
	movl	%eax, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
_snd_pdacf_ak4117_create.pgm:           ## @snd_pdacf_ak4117_create.pgm
	.ascii	"\211\217\213\377\207"

	.comm	_pdacf_ak4117_read,4,2          ## @pdacf_ak4117_read
	.comm	_pdacf_ak4117_write,4,2         ## @pdacf_ak4117_write
	.comm	_PDAUDIOCF_REG_TCR,4,2          ## @PDAUDIOCF_REG_TCR
	.comm	_PDAUDIOCF_ELIMAKMBIT,4,2       ## @PDAUDIOCF_ELIMAKMBIT
	.comm	_PDAUDIOCF_TESTDATASEL,4,2      ## @PDAUDIOCF_TESTDATASEL
	.comm	_PDAUDIOCF_REG_SCR,4,2          ## @PDAUDIOCF_REG_SCR
	.comm	_PDAUDIOCF_CLKDIV0,4,2          ## @PDAUDIOCF_CLKDIV0
	.comm	_PDAUDIOCF_CLKDIV1,4,2          ## @PDAUDIOCF_CLKDIV1
	.comm	_PDAUDIOCF_RED_LED_OFF,4,2      ## @PDAUDIOCF_RED_LED_OFF
	.comm	_PDAUDIOCF_BLUE_LED_OFF,4,2     ## @PDAUDIOCF_BLUE_LED_OFF
	.comm	_PDAUDIOCF_DATAFMT0,4,2         ## @PDAUDIOCF_DATAFMT0
	.comm	_PDAUDIOCF_DATAFMT1,4,2         ## @PDAUDIOCF_DATAFMT1
	.comm	_PDAUDIOCF_REG_IER,4,2          ## @PDAUDIOCF_REG_IER
	.comm	_PDAUDIOCF_IRQLVLEN0,4,2        ## @PDAUDIOCF_IRQLVLEN0
	.comm	_PDAUDIOCF_IRQLVLEN1,4,2        ## @PDAUDIOCF_IRQLVLEN1
	.comm	_PDAUDIOCF_BLUEDUTY0,4,2        ## @PDAUDIOCF_BLUEDUTY0
	.comm	_PDAUDIOCF_REDDUTY0,4,2         ## @PDAUDIOCF_REDDUTY0
	.comm	_PDAUDIOCF_REDDUTY1,4,2         ## @PDAUDIOCF_REDDUTY1
	.comm	_PDAUDIOCF_BLUEDUTY1,4,2        ## @PDAUDIOCF_BLUEDUTY1
	.comm	_PDAUDIOCF_HALFRATE,4,2         ## @PDAUDIOCF_HALFRATE
	.comm	_PDAUDIOCF_IRQOVREN,4,2         ## @PDAUDIOCF_IRQOVREN
	.comm	_PDAUDIOCF_IRQAKMEN,4,2         ## @PDAUDIOCF_IRQAKMEN
	.comm	_AK4117_UNLCK,4,2               ## @AK4117_UNLCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pdacf_ak4117_create        ; -- Begin function snd_pdacf_ak4117_create
	.p2align	2
_snd_pdacf_ak4117_create:               ; @snd_pdacf_ak4117_create
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w1, #0
	bl	_pdacf_reset
	tbnz	w0, #31, LBB0_3
; %bb.1:
	ldr	w0, [x19, #8]
Lloh0:
	adrp	x8, _pdacf_ak4117_read@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pdacf_ak4117_read@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _pdacf_ak4117_write@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pdacf_ak4117_write@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x3, _snd_pdacf_ak4117_create.pgm@PAGE
Lloh7:
	add	x3, x3, _snd_pdacf_ak4117_create.pgm@PAGEOFF
	mov	x4, x19
	mov	x5, x19
	bl	_snd_ak4117_create
	tbnz	w0, #31, LBB0_3
; %bb.2:
Lloh8:
	adrp	x20, _PDAUDIOCF_REG_TCR@GOTPAGE
Lloh9:
	ldr	x20, [x20, _PDAUDIOCF_REG_TCR@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_pdacf_reg_read
Lloh10:
	adrp	x8, _PDAUDIOCF_ELIMAKMBIT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PDAUDIOCF_ELIMAKMBIT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _PDAUDIOCF_TESTDATASEL@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PDAUDIOCF_TESTDATASEL@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w2, w0, w8
	ldr	w1, [x20]
	mov	x0, x19
	bl	_pdacf_reg_write
Lloh16:
	adrp	x20, _PDAUDIOCF_REG_SCR@GOTPAGE
Lloh17:
	ldr	x20, [x20, _PDAUDIOCF_REG_SCR@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_pdacf_reg_read
Lloh18:
	adrp	x8, _PDAUDIOCF_CLKDIV0@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PDAUDIOCF_CLKDIV0@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _PDAUDIOCF_CLKDIV1@GOTPAGE
Lloh22:
	ldr	x9, [x9, _PDAUDIOCF_CLKDIV1@GOTPAGEOFF]
Lloh23:
	adrp	x10, _PDAUDIOCF_RED_LED_OFF@GOTPAGE
Lloh24:
	ldr	x10, [x10, _PDAUDIOCF_RED_LED_OFF@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
Lloh26:
	ldr	w10, [x10]
Lloh27:
	adrp	x11, _PDAUDIOCF_BLUE_LED_OFF@GOTPAGE
Lloh28:
	ldr	x11, [x11, _PDAUDIOCF_BLUE_LED_OFF@GOTPAGEOFF]
Lloh29:
	ldr	w11, [x11]
	orr	w8, w9, w8
	orr	w8, w8, w10
	orr	w8, w8, w11
	bic	w8, w0, w8
Lloh30:
	adrp	x9, _PDAUDIOCF_DATAFMT0@GOTPAGE
Lloh31:
	ldr	x9, [x9, _PDAUDIOCF_DATAFMT0@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
Lloh33:
	adrp	x10, _PDAUDIOCF_DATAFMT1@GOTPAGE
Lloh34:
	ldr	x10, [x10, _PDAUDIOCF_DATAFMT1@GOTPAGEOFF]
Lloh35:
	ldr	w10, [x10]
	orr	w9, w10, w9
	orr	w2, w9, w8
	ldr	w1, [x20]
	mov	x0, x19
	bl	_pdacf_reg_write
Lloh36:
	adrp	x20, _PDAUDIOCF_REG_IER@GOTPAGE
Lloh37:
	ldr	x20, [x20, _PDAUDIOCF_REG_IER@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_pdacf_reg_read
Lloh38:
	adrp	x8, _PDAUDIOCF_IRQLVLEN0@GOTPAGE
Lloh39:
	ldr	x8, [x8, _PDAUDIOCF_IRQLVLEN0@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
Lloh41:
	adrp	x9, _PDAUDIOCF_IRQLVLEN1@GOTPAGE
Lloh42:
	ldr	x9, [x9, _PDAUDIOCF_IRQLVLEN1@GOTPAGEOFF]
Lloh43:
	adrp	x10, _PDAUDIOCF_BLUEDUTY0@GOTPAGE
Lloh44:
	ldr	x10, [x10, _PDAUDIOCF_BLUEDUTY0@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
Lloh46:
	ldr	w10, [x10]
Lloh47:
	adrp	x11, _PDAUDIOCF_REDDUTY0@GOTPAGE
Lloh48:
	ldr	x11, [x11, _PDAUDIOCF_REDDUTY0@GOTPAGEOFF]
Lloh49:
	adrp	x12, _PDAUDIOCF_REDDUTY1@GOTPAGE
Lloh50:
	ldr	x12, [x12, _PDAUDIOCF_REDDUTY1@GOTPAGEOFF]
Lloh51:
	ldr	w11, [x11]
Lloh52:
	ldr	w12, [x12]
	orr	w8, w9, w8
	orr	w8, w8, w10
	orr	w8, w8, w11
	orr	w8, w8, w12
	bic	w8, w0, w8
Lloh53:
	adrp	x9, _PDAUDIOCF_BLUEDUTY1@GOTPAGE
Lloh54:
	ldr	x9, [x9, _PDAUDIOCF_BLUEDUTY1@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
Lloh56:
	adrp	x10, _PDAUDIOCF_HALFRATE@GOTPAGE
Lloh57:
	ldr	x10, [x10, _PDAUDIOCF_HALFRATE@GOTPAGEOFF]
Lloh58:
	ldr	w10, [x10]
Lloh59:
	adrp	x11, _PDAUDIOCF_IRQOVREN@GOTPAGE
Lloh60:
	ldr	x11, [x11, _PDAUDIOCF_IRQOVREN@GOTPAGEOFF]
Lloh61:
	ldr	w11, [x11]
Lloh62:
	adrp	x12, _PDAUDIOCF_IRQAKMEN@GOTPAGE
Lloh63:
	ldr	x12, [x12, _PDAUDIOCF_IRQAKMEN@GOTPAGEOFF]
Lloh64:
	ldr	w12, [x12]
	orr	w9, w10, w9
	orr	w8, w9, w8
	orr	w8, w8, w11
	orr	w2, w8, w12
	ldr	w1, [x20]
	mov	x0, x19
	bl	_pdacf_reg_write
Lloh65:
	adrp	x8, _snd_pdacf_ak4117_change@GOTPAGE
Lloh66:
	ldr	x8, [x8, _snd_pdacf_ak4117_change@GOTPAGEOFF]
	ldr	x0, [x19]
	stp	x8, x19, [x0]
Lloh67:
	adrp	x8, _AK4117_UNLCK@GOTPAGE
Lloh68:
	ldr	x8, [x8, _AK4117_UNLCK@GOTPAGEOFF]
Lloh69:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_snd_pdacf_ak4117_change
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh51
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh45
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
_snd_pdacf_ak4117_create.pgm:           ; @snd_pdacf_ak4117_create.pgm
	.ascii	"\211\217\213\377\207"

	.comm	_pdacf_ak4117_read,4,2          ; @pdacf_ak4117_read
	.comm	_pdacf_ak4117_write,4,2         ; @pdacf_ak4117_write
	.comm	_PDAUDIOCF_REG_TCR,4,2          ; @PDAUDIOCF_REG_TCR
	.comm	_PDAUDIOCF_ELIMAKMBIT,4,2       ; @PDAUDIOCF_ELIMAKMBIT
	.comm	_PDAUDIOCF_TESTDATASEL,4,2      ; @PDAUDIOCF_TESTDATASEL
	.comm	_PDAUDIOCF_REG_SCR,4,2          ; @PDAUDIOCF_REG_SCR
	.comm	_PDAUDIOCF_CLKDIV0,4,2          ; @PDAUDIOCF_CLKDIV0
	.comm	_PDAUDIOCF_CLKDIV1,4,2          ; @PDAUDIOCF_CLKDIV1
	.comm	_PDAUDIOCF_RED_LED_OFF,4,2      ; @PDAUDIOCF_RED_LED_OFF
	.comm	_PDAUDIOCF_BLUE_LED_OFF,4,2     ; @PDAUDIOCF_BLUE_LED_OFF
	.comm	_PDAUDIOCF_DATAFMT0,4,2         ; @PDAUDIOCF_DATAFMT0
	.comm	_PDAUDIOCF_DATAFMT1,4,2         ; @PDAUDIOCF_DATAFMT1
	.comm	_PDAUDIOCF_REG_IER,4,2          ; @PDAUDIOCF_REG_IER
	.comm	_PDAUDIOCF_IRQLVLEN0,4,2        ; @PDAUDIOCF_IRQLVLEN0
	.comm	_PDAUDIOCF_IRQLVLEN1,4,2        ; @PDAUDIOCF_IRQLVLEN1
	.comm	_PDAUDIOCF_BLUEDUTY0,4,2        ; @PDAUDIOCF_BLUEDUTY0
	.comm	_PDAUDIOCF_REDDUTY0,4,2         ; @PDAUDIOCF_REDDUTY0
	.comm	_PDAUDIOCF_REDDUTY1,4,2         ; @PDAUDIOCF_REDDUTY1
	.comm	_PDAUDIOCF_BLUEDUTY1,4,2        ; @PDAUDIOCF_BLUEDUTY1
	.comm	_PDAUDIOCF_HALFRATE,4,2         ; @PDAUDIOCF_HALFRATE
	.comm	_PDAUDIOCF_IRQOVREN,4,2         ; @PDAUDIOCF_IRQOVREN
	.comm	_PDAUDIOCF_IRQAKMEN,4,2         ; @PDAUDIOCF_IRQAKMEN
	.comm	_AK4117_UNLCK,4,2               ; @AK4117_UNLCK
.subsections_via_symbols
