	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function domount
_domount:                               ## @domount
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_ofw_open
	movq	_bootdev@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movq	___dmadat@GOTPCREL(%rip), %rax
	movq	_dmadat@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_fsread
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	L_str(%rip), %rdi
	jmp	LBB0_4
LBB0_1:
	leaq	L_str.2(%rip), %rdi
LBB0_4:
	callq	_puts
	movl	$-1, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bootdev,4,2                    ## @bootdev
	.comm	___dmadat,4,2                   ## @__dmadat
	.comm	_dmadat,8,3                     ## @dmadat
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"domount: can't read superblock"

L_str.2:                                ## @str.2
	.asciz	"domount: can't open device"

	.no_dead_strip	_domount
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function domount
_domount:                               ; @domount
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_ofw_open
Lloh0:
	adrp	x8, _bootdev@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bootdev@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _dmadat@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dmadat@GOTPAGEOFF]
Lloh5:
	adrp	x9, ___dmadat@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___dmadat@GOTPAGEOFF]
Lloh7:
	str	x9, [x8]
	mov	w0, #0
	mov	x1, #0
	mov	w2, #0
	bl	_fsread
	cbz	x0, LBB0_5
; %bb.2:
Lloh8:
	adrp	x0, l_str@PAGE
Lloh9:
	add	x0, x0, l_str@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh10:
	adrp	x0, l_str.2@PAGE
Lloh11:
	add	x0, x0, l_str.2@PAGEOFF
LBB0_4:
	bl	_puts
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_bootdev,4,2                    ; @bootdev
	.comm	___dmadat,4,2                   ; @__dmadat
	.comm	_dmadat,8,3                     ; @dmadat
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"domount: can't read superblock"

l_str.2:                                ; @str.2
	.asciz	"domount: can't open device"

	.no_dead_strip	_domount
.subsections_via_symbols
