	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_pci_op
_do_pci_op:                             ## @do_pci_op
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	16(%rdi), %r12
	addq	$4, %r12
	movl	24(%rdi), %r14d
	movl	(%rdi), %ebx
	addq	$4, %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	xorl	%eax, %eax
	callq	_wmb
	movq	__XEN_PCIF_active@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r13), %rsi
	callq	_set_bit
	movl	%r14d, %edi
	callq	_notify_remote_via_evtchn
	xorl	%eax, %eax
	callq	_ktime_get_ns
                                        ## kill: def $eax killed $eax def $rax
	movq	_NSEC_PER_SEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	(%rax,%rcx,2), %r14d
	movl	%ebx, %edi
	callq	_xen_clear_irq_pending
	movq	_jiffies@GOTPCREL(%rip), %r12
	movq	_HZ@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	__XEN_PCIF_active@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r13), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r15), %rax
	leaq	(%rax,%rax,2), %rsi
	addq	(%r12), %rsi
	movl	%ebx, %edi
	callq	_xen_poll_irq_timeout
	movl	%ebx, %edi
	callq	_xen_clear_irq_pending
	xorl	%eax, %eax
	callq	_ktime_get_ns
	cmpl	%r14d, %eax
	jle	LBB0_1
## %bb.3:
	movq	8(%r13), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	__XEN_PCIF_active@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r13), %rsi
	callq	_clear_bit
	movq	_XEN_PCI_ERR_dev_not_found@GOTPCREL(%rip), %rbx
	jmp	LBB0_7
LBB0_4:
	movq	__XEN_PCIB_active@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r13), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	8(%r13), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	movq	%r13, %rdi
	callq	_schedule_pcifront_aer_op
LBB0_6:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	$4, %edx
	callq	_memcpy
LBB0_7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rbx), %ebx
	callq	_spin_unlock_irqrestore
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__XEN_PCIF_active,4,2           ## @_XEN_PCIF_active
	.comm	_NSEC_PER_SEC,8,3               ## @NSEC_PER_SEC
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pciback not responding!!!\n"

	.comm	_XEN_PCI_ERR_dev_not_found,4,2  ## @XEN_PCI_ERR_dev_not_found
	.comm	__XEN_PCIB_active,4,2           ## @_XEN_PCIB_active
L_.str.1:                               ## @.str.1
	.asciz	"schedule aer pcifront service\n"

	.no_dead_strip	_do_pci_op
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_pci_op
_do_pci_op:                             ; @do_pci_op
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0, #16]
	add	x22, x8, #4
	ldr	w24, [x0, #24]
	ldr	w23, [x0]
	add	x19, x0, #4
	mov	x0, x19
	bl	_spin_lock_irqsave
	mov	x0, x22
	mov	x1, x20
	mov	w2, #4
	bl	_memcpy
	bl	_wmb
Lloh0:
	adrp	x25, __XEN_PCIF_active@GOTPAGE
Lloh1:
	ldr	x25, [x25, __XEN_PCIF_active@GOTPAGEOFF]
	ldr	w0, [x25]
	ldr	x1, [x21, #16]
	bl	_set_bit
	mov	x0, x24
	bl	_notify_remote_via_evtchn
	bl	_ktime_get_ns
Lloh2:
	adrp	x8, _NSEC_PER_SEC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NSEC_PER_SEC@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	add	w24, w0, w8, lsl #1
	mov	x0, x23
	bl	_xen_clear_irq_pending
Lloh5:
	adrp	x26, _jiffies@GOTPAGE
Lloh6:
	ldr	x26, [x26, _jiffies@GOTPAGEOFF]
Lloh7:
	adrp	x27, _HZ@GOTPAGE
Lloh8:
	ldr	x27, [x27, _HZ@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x25]
	ldr	x1, [x21, #16]
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x26]
	ldrsw	x9, [x27]
	add	x9, x9, x9, lsl #1
	add	x1, x8, x9
	mov	x0, x23
	bl	_xen_poll_irq_timeout
	mov	x0, x23
	bl	_xen_clear_irq_pending
	bl	_ktime_get_ns
	cmp	w0, w24
	b.le	LBB0_1
; %bb.3:
	ldr	x0, [x21, #8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	ldr	w0, [x25]
	ldr	x1, [x21, #16]
	bl	_clear_bit
Lloh11:
	adrp	x20, _XEN_PCI_ERR_dev_not_found@GOTPAGE
Lloh12:
	ldr	x20, [x20, _XEN_PCI_ERR_dev_not_found@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh13:
	adrp	x8, __XEN_PCIB_active@GOTPAGE
Lloh14:
	ldr	x8, [x8, __XEN_PCIB_active@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	x1, [x21, #16]
	bl	_test_bit
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x0, [x21, #8]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	mov	x0, x21
	bl	_schedule_pcifront_aer_op
LBB0_6:
	mov	x0, x20
	mov	x1, x22
	mov	w2, #4
	bl	_memcpy
LBB0_7:
	ldr	w20, [x20]
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	__XEN_PCIF_active,4,2           ; @_XEN_PCIF_active
	.comm	_NSEC_PER_SEC,8,3               ; @NSEC_PER_SEC
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pciback not responding!!!\n"

	.comm	_XEN_PCI_ERR_dev_not_found,4,2  ; @XEN_PCI_ERR_dev_not_found
	.comm	__XEN_PCIB_active,4,2           ; @_XEN_PCIB_active
l_.str.1:                               ; @.str.1
	.asciz	"schedule aer pcifront service\n"

	.no_dead_strip	_do_pci_op
.subsections_via_symbols
