	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmc_apply_rel_rw
_mmc_apply_rel_rw:                      ## @mmc_apply_rel_rw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_EXT_CSD_WR_REL_PARAM_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rsi)
	jne	LBB0_7
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rdx, %rdi
	callq	_blk_rq_pos
	movl	4(%rbx), %esi
	movl	%eax, %edi
	callq	_IS_ALIGNED
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	(%r14), %ecx
	jmp	LBB0_4
LBB0_3:
	movl	$1, (%r14)
	movl	$1, %ecx
LBB0_4:
	movl	4(%rbx), %eax
	cmpl	%eax, %ecx
	jg	LBB0_6
## %bb.5:
	movl	$1, %eax
	jge	LBB0_7
LBB0_6:
	movl	%eax, (%r14)
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXT_CSD_WR_REL_PARAM_EN,4,2    ## @EXT_CSD_WR_REL_PARAM_EN
	.no_dead_strip	_mmc_apply_rel_rw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmc_apply_rel_rw
_mmc_apply_rel_rw:                      ; @mmc_apply_rel_rw
	.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
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _EXT_CSD_WR_REL_PARAM_EN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EXT_CSD_WR_REL_PARAM_EN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_8
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	mov	x0, x2
	bl	_blk_rq_pos
	ldr	w1, [x20, #4]
	bl	_IS_ALIGNED
	cbz	w0, LBB0_3
; %bb.2:
	ldr	w8, [x19]
	b	LBB0_4
LBB0_3:
	mov	w8, #1
	str	w8, [x19]
LBB0_4:
	ldr	w9, [x20, #4]
	cmp	w8, w9
	b.gt	LBB0_7
; %bb.5:
	b.ge	LBB0_8
; %bb.6:
	mov	w9, #1
LBB0_7:
	str	w9, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EXT_CSD_WR_REL_PARAM_EN,4,2    ; @EXT_CSD_WR_REL_PARAM_EN
	.no_dead_strip	_mmc_apply_rel_rw
.subsections_via_symbols
