	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hp_sdc_request_timer_irq       ## -- Begin function hp_sdc_request_timer_irq
	.p2align	4, 0x90
_hp_sdc_request_timer_irq:              ## @hp_sdc_request_timer_irq
	.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
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	_hp_sdc@GOTPCREL(%rip), %rbx
	cmpq	$0, 24(%rbx)
	je	LBB0_2
## %bb.4:
	movq	%rdi, %r15
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_write_lock_irq
	cmpq	$0, 16(%rbx)
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_write_unlock_irq
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r15, 16(%rbx)
	movq	_HP_SDC_IM_FH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_HP_SDC_IM_PT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_HP_SDC_IM_TIMERS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	andl	%eax, 12(%rbx)
	movl	$1, (%rbx)
	movq	%r14, %rdi
	callq	_write_unlock_irq
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_tasklet_schedule
	xorl	%eax, %eax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_hp_sdc,32,3                    ## @hp_sdc
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_HP_SDC_IM_FH,4,2               ## @HP_SDC_IM_FH
	.comm	_HP_SDC_IM_PT,4,2               ## @HP_SDC_IM_PT
	.comm	_HP_SDC_IM_TIMERS,4,2           ## @HP_SDC_IM_TIMERS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hp_sdc_request_timer_irq       ; -- Begin function hp_sdc_request_timer_irq
	.p2align	2
_hp_sdc_request_timer_irq:              ; @hp_sdc_request_timer_irq
	.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
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x21, _hp_sdc@GOTPAGE
Lloh1:
	ldr	x21, [x21, _hp_sdc@GOTPAGEOFF]
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x20, x0
	add	x19, x21, #8
	mov	x0, x19
	bl	_write_lock_irq
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_7
; %bb.3:
	mov	x0, x19
	bl	_write_unlock_irq
Lloh2:
	adrp	x8, _EBUSY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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
	ret
LBB0_7:
	str	x20, [x21, #16]
Lloh6:
	adrp	x8, _HP_SDC_IM_FH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HP_SDC_IM_FH@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x21, #12]
Lloh9:
	adrp	x10, _HP_SDC_IM_PT@GOTPAGE
Lloh10:
	ldr	x10, [x10, _HP_SDC_IM_PT@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w8, w8, w10
Lloh12:
	adrp	x10, _HP_SDC_IM_TIMERS@GOTPAGE
Lloh13:
	ldr	x10, [x10, _HP_SDC_IM_TIMERS@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w8, w8, w10
	bic	w8, w9, w8
	str	w8, [x21, #12]
	mov	w8, #1
	str	w8, [x21]
	mov	x0, x19
	bl	_write_unlock_irq
	add	x0, x21, #4
	bl	_tasklet_schedule
	mov	w0, #0
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_hp_sdc,32,3                    ; @hp_sdc
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_HP_SDC_IM_FH,4,2               ; @HP_SDC_IM_FH
	.comm	_HP_SDC_IM_PT,4,2               ; @HP_SDC_IM_PT
	.comm	_HP_SDC_IM_TIMERS,4,2           ; @HP_SDC_IM_TIMERS
.subsections_via_symbols
