	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function hp_sdc_take
LCPI0_0:
	.quad	-1                              ## 0xffffffffffffffff
	.quad	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_hp_sdc_take:                           ## @hp_sdc_take
	.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	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	_hp_sdc@GOTPCREL(%rip), %rbx
	leaq	20(%rbx), %r14
	movq	%r14, %rdi
	callq	_read_lock
	movq	(%rbx), %rax
	movq	32(%rbx), %rcx
	movq	(%rcx,%rax,8), %r13
	movq	%r14, %rdi
	callq	_read_unlock
	movq	(%r13), %rax
	movq	8(%r13), %rcx
	movl	%r15d, (%rax,%rcx,4)
	leaq	2(%rcx), %rdx
	movq	%rdx, 8(%r13)
	movl	%r12d, 4(%rax,%rcx,4)
	addq	$-2, 8(%rbx)
	xorl	%eax, %eax
	callq	_ktime_get
	movl	%eax, 24(%rbx)
	cmpq	$0, 8(%rbx)
	jle	LBB0_1
## %bb.9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	(%r13), %rax
	movq	16(%r13), %rcx
	movl	(%rax,%rcx,4), %eax
	movq	_HP_SDC_ACT_SEMAPHORE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.3:
	movq	32(%r13), %rdi
	testq	%rdi, %rdi
	movq	%r15, %rsi
	movq	%r12, %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	je	LBB0_5
## %bb.4:
	callq	_up
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	movq	%r15, %rsi
	movq	(%r13), %rax
	movq	16(%r13), %rdi
	movl	(%rax,%rdi,4), %eax
	jmp	LBB0_5
LBB0_2:
	movq	%r15, %rsi
	movq	%r12, %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
LBB0_5:
	movq	_HP_SDC_ACT_CALLBACK@GOTPCREL(%rip), %rdi
	testl	%eax, (%rdi)
	je	LBB0_8
## %bb.6:
	movq	24(%r13), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	%r8d, %edi
	callq	*%rax
LBB0_8:
	movq	8(%r13), %rax
	movq	%rax, 16(%r13)
	incq	%rax
	movq	%rax, 8(%r13)
	movq	%r14, %rdi
	callq	_write_lock
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [18446744073709551615,0]
	movups	%xmm0, (%rbx)
	movq	%r14, %rdi
	callq	_write_unlock
	addq	$16, %rbx
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tasklet_schedule               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_hp_sdc,40,3                    ## @hp_sdc
	.comm	_HP_SDC_ACT_SEMAPHORE,4,2       ## @HP_SDC_ACT_SEMAPHORE
	.comm	_HP_SDC_ACT_CALLBACK,4,2        ## @HP_SDC_ACT_CALLBACK
	.no_dead_strip	_hp_sdc_take
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function hp_sdc_take
lCPI0_0:
	.quad	-1                              ; 0xffffffffffffffff
	.quad	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_hp_sdc_take:                           ; @hp_sdc_take
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x19, _hp_sdc@GOTPAGE
Lloh1:
	ldr	x19, [x19, _hp_sdc@GOTPAGEOFF]
	add	x24, x19, #20
	mov	x0, x24
	bl	_read_lock
	ldr	x8, [x19]
	ldr	x9, [x19, #32]
	ldr	x25, [x9, x8, lsl #3]
	mov	x0, x24
	bl	_read_unlock
	ldp	x8, x9, [x25]
	add	x8, x8, x9, lsl #2
	add	x9, x9, #2
	str	x9, [x25, #8]
	stp	w21, w20, [x8]
	ldr	x8, [x19, #8]
	sub	x8, x8, #2
	str	x8, [x19, #8]
	bl	_ktime_get
	str	w0, [x19, #24]
	ldr	x8, [x19, #8]
	cmp	x8, #0
	b.le	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	x8, [x25]
	ldr	x9, [x25, #16]
	ldr	w8, [x8, x9, lsl #2]
Lloh2:
	adrp	x9, _HP_SDC_ACT_SEMAPHORE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HP_SDC_ACT_SEMAPHORE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
	ldr	x0, [x25, #32]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_up
	ldr	x8, [x25]
	ldr	x9, [x25, #16]
	ldr	w8, [x8, x9, lsl #2]
LBB0_5:
Lloh5:
	adrp	x9, _HP_SDC_ACT_CALLBACK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _HP_SDC_ACT_CALLBACK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.6:
	ldr	x8, [x25, #24]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	blr	x8
LBB0_8:
	ldr	x8, [x25, #8]
	add	x9, x8, #1
	stp	x9, x8, [x25, #8]
	add	x20, x19, #20
	mov	x0, x20
	bl	_write_lock
Lloh8:
	adrp	x8, lCPI0_0@PAGE
Lloh9:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [x19], #16
	mov	x0, x20
	bl	_write_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_tasklet_schedule
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdr	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_hp_sdc,40,3                    ; @hp_sdc
	.comm	_HP_SDC_ACT_SEMAPHORE,4,2       ; @HP_SDC_ACT_SEMAPHORE
	.comm	_HP_SDC_ACT_CALLBACK,4,2        ; @HP_SDC_ACT_CALLBACK
	.no_dead_strip	_hp_sdc_take
.subsections_via_symbols
