	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath9k_hw_disablepcie
_ath9k_hw_disablepcie:                  ## @ath9k_hw_disablepcie
	.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
	callq	_AR_SREV_5416
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_AR_PCIE_SERDES@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$-1840710656, %edx              ## imm = 0x9248FC00
	callq	_REG_WRITE
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$613566756, %edx                ## imm = 0x24924924
	callq	_REG_WRITE
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$671088681, %edx                ## imm = 0x28000029
	callq	_REG_WRITE
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$1461061668, %edx               ## imm = 0x57160824
	callq	_REG_WRITE
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$630719865, %edx                ## imm = 0x25980579
	callq	_REG_WRITE
	movl	(%r14), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_REG_WRITE
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$447397440, %edx                ## imm = 0x1AAABE40
	callq	_REG_WRITE
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$-1106225836, %edx              ## imm = 0xBE105554
	callq	_REG_WRITE
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$921607, %edx                   ## imm = 0xE1007
	callq	_REG_WRITE
	movq	_AR_PCIE_SERDES2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_REG_WRITE                      ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AR_PCIE_SERDES,4,2             ## @AR_PCIE_SERDES
	.comm	_AR_PCIE_SERDES2,4,2            ## @AR_PCIE_SERDES2
	.no_dead_strip	_ath9k_hw_disablepcie
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath9k_hw_disablepcie
_ath9k_hw_disablepcie:                  ; @ath9k_hw_disablepcie
	.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
	bl	_AR_SREV_5416
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x20, _AR_PCIE_SERDES@GOTPAGE
Lloh1:
	ldr	x20, [x20, _AR_PCIE_SERDES@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #64512
	movk	w2, #37448, lsl #16
	bl	_REG_WRITE
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #18724
	movk	w2, #9362, lsl #16
	bl	_REG_WRITE
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #41
	movk	w2, #10240, lsl #16
	bl	_REG_WRITE
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #2084
	movk	w2, #22294, lsl #16
	bl	_REG_WRITE
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1401
	movk	w2, #9624, lsl #16
	bl	_REG_WRITE
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	bl	_REG_WRITE
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #48704
	movk	w2, #6826, lsl #16
	bl	_REG_WRITE
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #21844
	movk	w2, #48656, lsl #16
	bl	_REG_WRITE
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #4103
	movk	w2, #14, lsl #16
	bl	_REG_WRITE
Lloh2:
	adrp	x8, _AR_PCIE_SERDES2@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AR_PCIE_SERDES2@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_REG_WRITE
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AR_PCIE_SERDES,4,2             ; @AR_PCIE_SERDES
	.comm	_AR_PCIE_SERDES2,4,2            ; @AR_PCIE_SERDES2
	.no_dead_strip	_ath9k_hw_disablepcie
.subsections_via_symbols
