	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hp_sdc_mlc_in
_hp_sdc_mlc_in:                         ## @hp_sdc_mlc_in
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	40(%rdi), %r12
	leaq	16(%rdi), %r15
	movq	%r15, %rdi
	callq	_down_trylock
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	$0, (%r12)
	je	LBB0_4
## %bb.2:
	movq	_HIL_PKT_CMD@GOTPCREL(%rip), %rax
	movq	_HIL_PKT_ADDR_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_HIL_ERR_INT@GOTPCREL(%rip), %rax
	movq	_HIL_PKT_DATA_MASK@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	andl	8(%rbx), %ecx
	orl	(%rax), %ecx
	movq	(%rbx), %rax
	movl	%ecx, (%rax)
	movl	$14, 12(%rbx)
	jmp	LBB0_3
LBB0_4:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	24(%rbx), %rsi
	addq	32(%rbx), %rsi
	callq	_time_after
	movl	$1, %r14d
	testq	%rax, %rax
	je	LBB0_5
LBB0_3:
	movq	%r15, %rdi
	callq	_up
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	$2, %r14d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_HIL_ERR_INT,4,2                ## @HIL_ERR_INT
	.comm	_HIL_PKT_CMD,4,2                ## @HIL_PKT_CMD
	.comm	_HIL_PKT_ADDR_MASK,4,2          ## @HIL_PKT_ADDR_MASK
	.comm	_HIL_PKT_DATA_MASK,4,2          ## @HIL_PKT_DATA_MASK
	.comm	_jiffies,4,2                    ## @jiffies
	.no_dead_strip	_hp_sdc_mlc_in
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hp_sdc_mlc_in
_hp_sdc_mlc_in:                         ; @hp_sdc_mlc_in
	.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	x21, x0
	ldr	x20, [x0, #40]
	add	x19, x0, #16
	mov	x0, x19
	bl	_down_trylock
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.2:
	mov	w20, #0
Lloh0:
	adrp	x8, _HIL_ERR_INT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HIL_ERR_INT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _HIL_PKT_CMD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HIL_PKT_CMD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _HIL_PKT_ADDR_MASK@GOTPAGE
Lloh7:
	ldr	x10, [x10, _HIL_PKT_ADDR_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh9:
	adrp	x10, _HIL_PKT_DATA_MASK@GOTPAGE
Lloh10:
	ldr	x10, [x10, _HIL_PKT_DATA_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w9, w10
	ldr	w10, [x21, #8]
	and	w9, w9, w10
	orr	w8, w9, w8
	ldr	x9, [x21]
	str	w8, [x9]
	mov	w8, #14
	str	w8, [x21, #12]
	b	LBB0_6
LBB0_3:
	mov	w20, #0
	b	LBB0_6
LBB0_4:
Lloh12:
	adrp	x8, _jiffies@GOTPAGE
Lloh13:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldp	x9, x8, [x21, #24]
	add	x1, x9, x8
	bl	_time_after
	cbz	x0, LBB0_8
; %bb.5:
	mov	w20, #1
LBB0_6:
	mov	x0, x19
	bl	_up
LBB0_7:
	mov	x0, x20
	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_8:
	mov	w20, #2
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_HIL_ERR_INT,4,2                ; @HIL_ERR_INT
	.comm	_HIL_PKT_CMD,4,2                ; @HIL_PKT_CMD
	.comm	_HIL_PKT_ADDR_MASK,4,2          ; @HIL_PKT_ADDR_MASK
	.comm	_HIL_PKT_DATA_MASK,4,2          ; @HIL_PKT_DATA_MASK
	.comm	_jiffies,4,2                    ; @jiffies
	.no_dead_strip	_hp_sdc_mlc_in
.subsections_via_symbols
