	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pdacf_powerdown            ## -- Begin function snd_pdacf_powerdown
	.p2align	4, 0x90
_snd_pdacf_powerdown:                   ## @snd_pdacf_powerdown
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_PDAUDIOCF_REG_SCR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_pdacf_reg_read
	movl	%eax, (%rbx)
	movq	_PDAUDIOCF_RED_LED_OFF@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_PDAUDIOCF_BLUE_LED_OFF@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_pdacf_reg_write
	movq	_PDAUDIOCF_REG_IER@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	8(%rbx), %rdi
	callq	_inw
	movq	_PDAUDIOCF_IRQOVREN@GOTPCREL(%rip), %rcx
	movq	_PDAUDIOCF_IRQAKMEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	orl	(%rcx), %edi
	movq	_PDAUDIOCF_IRQLVLEN0@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edi
	movq	_PDAUDIOCF_IRQLVLEN1@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	movq	(%r14), %rsi
	addq	8(%rbx), %rsi
	callq	_outw
	movq	%rbx, %rdi
	movl	$1, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pdacf_reset                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PDAUDIOCF_REG_SCR,4,2          ## @PDAUDIOCF_REG_SCR
	.comm	_PDAUDIOCF_RED_LED_OFF,4,2      ## @PDAUDIOCF_RED_LED_OFF
	.comm	_PDAUDIOCF_BLUE_LED_OFF,4,2     ## @PDAUDIOCF_BLUE_LED_OFF
	.comm	_PDAUDIOCF_REG_IER,8,3          ## @PDAUDIOCF_REG_IER
	.comm	_PDAUDIOCF_IRQOVREN,4,2         ## @PDAUDIOCF_IRQOVREN
	.comm	_PDAUDIOCF_IRQAKMEN,4,2         ## @PDAUDIOCF_IRQAKMEN
	.comm	_PDAUDIOCF_IRQLVLEN0,4,2        ## @PDAUDIOCF_IRQLVLEN0
	.comm	_PDAUDIOCF_IRQLVLEN1,4,2        ## @PDAUDIOCF_IRQLVLEN1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pdacf_powerdown            ; -- Begin function snd_pdacf_powerdown
	.p2align	2
_snd_pdacf_powerdown:                   ; @snd_pdacf_powerdown
	.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
Lloh0:
	adrp	x20, _PDAUDIOCF_REG_SCR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PDAUDIOCF_REG_SCR@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_pdacf_reg_read
	str	w0, [x19]
Lloh2:
	adrp	x8, _PDAUDIOCF_RED_LED_OFF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PDAUDIOCF_RED_LED_OFF@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _PDAUDIOCF_BLUE_LED_OFF@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PDAUDIOCF_BLUE_LED_OFF@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w8, w0
	orr	w2, w8, w9
	ldr	w1, [x20]
	mov	x0, x19
	bl	_pdacf_reg_write
	ldr	x8, [x19, #8]
Lloh8:
	adrp	x20, _PDAUDIOCF_REG_IER@GOTPAGE
Lloh9:
	ldr	x20, [x20, _PDAUDIOCF_REG_IER@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_inw
Lloh10:
	adrp	x8, _PDAUDIOCF_IRQOVREN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PDAUDIOCF_IRQOVREN@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _PDAUDIOCF_IRQAKMEN@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PDAUDIOCF_IRQAKMEN@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh16:
	adrp	x9, _PDAUDIOCF_IRQLVLEN0@GOTPAGE
Lloh17:
	ldr	x9, [x9, _PDAUDIOCF_IRQLVLEN0@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh19:
	adrp	x9, _PDAUDIOCF_IRQLVLEN1@GOTPAGE
Lloh20:
	ldr	x9, [x9, _PDAUDIOCF_IRQLVLEN1@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w0, w0, w8
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_outw
	mov	x0, x19
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pdacf_reset
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PDAUDIOCF_REG_SCR,4,2          ; @PDAUDIOCF_REG_SCR
	.comm	_PDAUDIOCF_RED_LED_OFF,4,2      ; @PDAUDIOCF_RED_LED_OFF
	.comm	_PDAUDIOCF_BLUE_LED_OFF,4,2     ; @PDAUDIOCF_BLUE_LED_OFF
	.comm	_PDAUDIOCF_REG_IER,8,3          ; @PDAUDIOCF_REG_IER
	.comm	_PDAUDIOCF_IRQOVREN,4,2         ; @PDAUDIOCF_IRQOVREN
	.comm	_PDAUDIOCF_IRQAKMEN,4,2         ; @PDAUDIOCF_IRQAKMEN
	.comm	_PDAUDIOCF_IRQLVLEN0,4,2        ; @PDAUDIOCF_IRQLVLEN0
	.comm	_PDAUDIOCF_IRQLVLEN1,4,2        ; @PDAUDIOCF_IRQLVLEN1
.subsections_via_symbols
