	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw_pcie_ep_clear_bar
_dw_pcie_ep_clear_bar:                  ## @dw_pcie_ep_clear_bar
	.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	%rdx, %rbx
	callq	_epc_get_drvdata
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_to_dw_pcie_from_ep
	movq	%rax, %r15
	movl	(%rbx), %esi
	movl	4(%rbx), %edx
	movq	8(%r14), %rax
	movl	(%rax,%rsi,4), %ebx
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	___dw_pcie_ep_reset_bar
	movq	_DW_PCIE_REGION_INBOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_dw_pcie_disable_atu
	movl	(%r14), %esi
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_clear_bit                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DW_PCIE_REGION_INBOUND,4,2     ## @DW_PCIE_REGION_INBOUND
	.no_dead_strip	_dw_pcie_ep_clear_bar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dw_pcie_ep_clear_bar
_dw_pcie_ep_clear_bar:                  ; @dw_pcie_ep_clear_bar
	.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, x2
	bl	_epc_get_drvdata
	mov	x20, x0
	bl	_to_dw_pcie_from_ep
	mov	x21, x0
	ldr	x8, [x20, #8]
	ldp	w1, w2, [x19]
	ldr	w19, [x8, x1, lsl #2]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	___dw_pcie_ep_reset_bar
Lloh0:
	adrp	x8, _DW_PCIE_REGION_INBOUND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DW_PCIE_REGION_INBOUND@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x19
	bl	_dw_pcie_disable_atu
	ldr	w1, [x20]
	mov	x0, x19
	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
	b	_clear_bit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DW_PCIE_REGION_INBOUND,4,2     ; @DW_PCIE_REGION_INBOUND
	.no_dead_strip	_dw_pcie_ep_clear_bar
.subsections_via_symbols
