	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mb86a16_attach                 ## -- Begin function mb86a16_attach
	.p2align	4, 0x90
_mb86a16_attach:                        ## @mb86a16_attach
	.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
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	$0, -28(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kmalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%r15, 16(%rbx)
	movq	%r14, 24(%rbx)
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$127, %esi
	callq	_mb86a16_read
	cmpl	$254, -28(%rbp)
	jne	LBB0_3
## %bb.2:
	movq	_mb86a16_ops@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	%rbx, 8(%rbx)
	movq	16(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	callq	_kfree
	xorl	%ebx, %ebx
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_mb86a16_ops,4,2                ## @mb86a16_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mb86a16_attach                 ; -- Begin function mb86a16_attach
	.p2align	2
_mb86a16_attach:                        ; @mb86a16_attach
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x21, x0
	str	wzr, [sp, #12]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kmalloc
	mov	x19, x0
	cbz	x0, LBB0_3
; %bb.1:
	stp	x21, x20, [x19, #16]
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #127
	bl	_mb86a16_read
	ldr	w8, [sp, #12]
	cmp	w8, #254
	b.ne	LBB0_3
; %bb.2:
Lloh3:
	adrp	x1, _mb86a16_ops@GOTPAGE
Lloh4:
	ldr	x1, [x1, _mb86a16_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	w2, #4
	bl	_memcpy
	str	x19, [x19, #8]
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_kfree
	mov	x19, #0
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_mb86a16_ops,4,2                ; @mb86a16_ops
.subsections_via_symbols
