	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function blktrans_open
_blktrans_open:                         ## @blktrans_open
	.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), %rax
	movq	(%rax), %r14
	movq	(%r14), %rax
	movq	8(%r14), %r12
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	subl	(%rcx), %ebx
	movl	4(%rax), %esi
	xorl	%edi, %edi
	callq	_get_mtd_device
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movl	8(%r12), %edi
	callq	_try_module_get
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	movq	(%r14), %rax
	incl	(%rax)
	movq	(%r12), %rcx
	xorl	%ebx, %ebx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.3:
	movq	%r14, %rdi
	callq	*%rcx
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movl	%eax, %r15d
	movq	(%r14), %rdi
	decl	(%rdi)
	callq	_put_mtd_device
	movl	%r15d, %ebx
LBB0_5:
	movl	8(%r12), %edi
	callq	_module_put
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_blktrans_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function blktrans_open
_blktrans_open:                         ; @blktrans_open
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ENODEV@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ENODEV@GOTPAGEOFF]
	ldr	x20, [x8]
Lloh2:
	ldr	w8, [x9]
	neg	w19, w8
	ldp	x8, x21, [x20]
	ldr	w1, [x8, #4]
	mov	x0, #0
	bl	_get_mtd_device
	cbz	w0, LBB0_7
; %bb.1:
	ldr	w0, [x21, #8]
	bl	_try_module_get
	cbz	w0, LBB0_5
; %bb.2:
	ldr	x8, [x20]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldr	x8, [x21]
	cbz	x8, LBB0_6
; %bb.3:
	mov	x0, x20
	blr	x8
	mov	x19, x0
	cbz	w0, LBB0_7
; %bb.4:
	ldr	x0, [x20]
	ldr	w8, [x0]
	sub	w8, w8, #1
	str	w8, [x0]
	bl	_put_mtd_device
LBB0_5:
	ldr	w0, [x21, #8]
	bl	_module_put
	b	LBB0_7
LBB0_6:
	mov	w19, #0
LBB0_7:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_blktrans_open
.subsections_via_symbols
