	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcf_isa_waitforpin
_pcf_isa_waitforpin:                    ## @pcf_isa_waitforpin
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_wait@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DEFINE_WAIT
	movq	_irq@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_8
## %bb.1:
	movq	_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irqsave
	movq	_pcf_pending@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	je	LBB0_2
## %bb.7:
	movl	$0, (%rbx)
	movq	_lock@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_8:
	movl	$100, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_udelay                         ## TAILCALL
LBB0_2:
	movq	_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_irqrestore
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_pcf_wait@GOTPCREL(%rip), %rdi
	movq	_wait@GOTPCREL(%rip), %rsi
	callq	_prepare_to_wait
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	%edi, %edi
	callq	_schedule_timeout
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irqsave
	cmpl	$1, (%rbx)
	jne	LBB0_5
## %bb.4:
	movl	$0, (%rbx)
LBB0_5:
	movq	_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_irqrestore
LBB0_6:
	movq	_pcf_wait@GOTPCREL(%rip), %rdi
	movq	_wait@GOTPCREL(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_finish_wait                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_wait,4,2                       ## @wait
	.comm	_irq,8,3                        ## @irq
	.comm	_lock,4,2                       ## @lock
	.comm	_pcf_pending,4,2                ## @pcf_pending
	.comm	_pcf_wait,4,2                   ## @pcf_wait
	.comm	_TASK_INTERRUPTIBLE,4,2         ## @TASK_INTERRUPTIBLE
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_pcf_isa_waitforpin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcf_isa_waitforpin
_pcf_isa_waitforpin:                    ; @pcf_isa_waitforpin
	.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
Lloh0:
	adrp	x8, _wait@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wait@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_DEFINE_WAIT
Lloh3:
	adrp	x8, _irq@GOTPAGE
Lloh4:
	ldr	x8, [x8, _irq@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.1:
Lloh6:
	adrp	x0, _lock@GOTPAGE
Lloh7:
	ldr	x0, [x0, _lock@GOTPAGEOFF]
	bl	_spin_lock_irqsave
Lloh8:
	adrp	x19, _pcf_pending@GOTPAGE
Lloh9:
	ldr	x19, [x19, _pcf_pending@GOTPAGEOFF]
	ldr	w8, [x19]
	cbz	w8, LBB0_4
; %bb.2:
	str	wzr, [x19]
Lloh10:
	adrp	x0, _lock@GOTPAGE
Lloh11:
	ldr	x0, [x0, _lock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
LBB0_3:
	mov	w0, #100
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_udelay
LBB0_4:
Lloh12:
	adrp	x0, _lock@GOTPAGE
Lloh13:
	ldr	x0, [x0, _lock@GOTPAGEOFF]
	bl	_spin_unlock_irqrestore
Lloh14:
	adrp	x8, _TASK_INTERRUPTIBLE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TASK_INTERRUPTIBLE@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
Lloh17:
	adrp	x0, _pcf_wait@GOTPAGE
Lloh18:
	ldr	x0, [x0, _pcf_wait@GOTPAGEOFF]
Lloh19:
	adrp	x1, _wait@GOTPAGE
Lloh20:
	ldr	x1, [x1, _wait@GOTPAGEOFF]
	bl	_prepare_to_wait
Lloh21:
	adrp	x8, _HZ@GOTPAGE
Lloh22:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	lsl	w0, w8, #1
	bl	_schedule_timeout
	cbz	x0, LBB0_8
; %bb.5:
Lloh24:
	adrp	x0, _lock@GOTPAGE
Lloh25:
	ldr	x0, [x0, _lock@GOTPAGEOFF]
	bl	_spin_lock_irqsave
	ldr	w8, [x19]
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.6:
	str	wzr, [x19]
LBB0_7:
Lloh26:
	adrp	x0, _lock@GOTPAGE
Lloh27:
	ldr	x0, [x0, _lock@GOTPAGEOFF]
	bl	_spin_unlock_irqrestore
LBB0_8:
Lloh28:
	adrp	x0, _pcf_wait@GOTPAGE
Lloh29:
	ldr	x0, [x0, _pcf_wait@GOTPAGEOFF]
Lloh30:
	adrp	x1, _wait@GOTPAGE
Lloh31:
	ldr	x1, [x1, _wait@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_finish_wait
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_wait,4,2                       ; @wait
	.comm	_irq,8,3                        ; @irq
	.comm	_lock,4,2                       ; @lock
	.comm	_pcf_pending,4,2                ; @pcf_pending
	.comm	_pcf_wait,4,2                   ; @pcf_wait
	.comm	_TASK_INTERRUPTIBLE,4,2         ; @TASK_INTERRUPTIBLE
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_pcf_isa_waitforpin
.subsections_via_symbols
