	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phram_setup
_phram_setup:                           ## @phram_setup
	.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
	subq	$128, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	-128(%rbp), %rax
	movq	%rax, -152(%rbp)
	movl	$88, %esi
	callq	_strnlen
	cmpl	$88, %eax
	jb	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_parse_err
LBB0_2:
	leaq	-128(%rbp), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_strcpy
	movq	%r14, %rdi
	callq	_kill_final_newline
	leaq	L_.str.1(%rip), %r15
	leaq	-152(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_strsep
	movq	%rax, %r12
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_strsep
	movq	%rax, %r14
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_strsep
	movq	%rax, %r15
	cmpq	$0, -152(%rbp)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	callq	_parse_err
LBB0_4:
	testq	%r15, %r15
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.3(%rip), %rdi
	callq	_parse_err
LBB0_6:
	leaq	-144(%rbp), %rdi
	movq	%r12, %rsi
	callq	_parse_name
	testl	%eax, %eax
	jne	LBB0_13
## %bb.7:
	leaq	-136(%rbp), %rdi
	movq	%r14, %rsi
	callq	_parse_num32
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movq	-144(%rbp), %rdi
	callq	_kfree
	leaq	L_.str.4(%rip), %rdi
	callq	_parse_err
LBB0_9:
	leaq	-132(%rbp), %rdi
	movq	%r15, %rsi
	callq	_parse_num32
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movq	-144(%rbp), %rdi
	callq	_kfree
	leaq	L_.str.5(%rip), %rdi
	callq	_parse_err
LBB0_11:
	movq	-144(%rbp), %rdi
	movl	-136(%rbp), %esi
	movl	-132(%rbp), %edx
	callq	_register_device
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	movq	-144(%rbp), %rsi
	movl	-132(%rbp), %edx
	movl	-136(%rbp), %ecx
	leaq	L_.str.6(%rip), %rdi
	callq	_pr_info
	xorl	%eax, %eax
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_15
## %bb.14:
	addq	$128, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"parameter too long\n"

L_.str.1:                               ## @.str.1
	.asciz	","

L_.str.2:                               ## @.str.2
	.asciz	"too many arguments\n"

L_.str.3:                               ## @.str.3
	.asciz	"not enough arguments\n"

L_.str.4:                               ## @.str.4
	.asciz	"illegal start address\n"

L_.str.5:                               ## @.str.5
	.asciz	"illegal device length\n"

L_.str.6:                               ## @.str.6
	.asciz	"%s device: %#x at %#x\n"

	.no_dead_strip	_phram_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phram_setup
_phram_setup:                           ; @phram_setup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	add	x8, sp, #32
	str	x8, [sp, #24]
	mov	w1, #88
	bl	_strnlen
	cmp	w0, #88
	b.lo	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_parse_err
LBB0_2:
	add	x0, sp, #32
	mov	x1, x19
	bl	_strcpy
	add	x0, sp, #32
	bl	_kill_final_newline
Lloh5:
	adrp	x19, l_.str.1@PAGE
Lloh6:
	add	x19, x19, l_.str.1@PAGEOFF
	add	x0, sp, #24
	mov	x1, x19
	bl	_strsep
	mov	x21, x0
	add	x0, sp, #24
	mov	x1, x19
	bl	_strsep
	mov	x20, x0
	add	x0, sp, #24
	mov	x1, x19
	bl	_strsep
	mov	x19, x0
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_4
; %bb.3:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_parse_err
LBB0_4:
	cbnz	x19, LBB0_6
; %bb.5:
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_parse_err
LBB0_6:
	add	x0, sp, #16
	mov	x1, x21
	bl	_parse_name
	cbnz	w0, LBB0_13
; %bb.7:
	add	x0, sp, #12
	mov	x1, x20
	bl	_parse_num32
	cbz	w0, LBB0_9
; %bb.8:
	ldr	x0, [sp, #16]
	bl	_kfree
Lloh11:
	adrp	x0, l_.str.4@PAGE
Lloh12:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_parse_err
LBB0_9:
	add	x0, sp, #8
	mov	x1, x19
	bl	_parse_num32
	cbz	w0, LBB0_11
; %bb.10:
	ldr	x0, [sp, #16]
	bl	_kfree
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_parse_err
LBB0_11:
	ldr	x0, [sp, #16]
	ldp	w2, w1, [sp, #8]
	bl	_register_device
	cbnz	w0, LBB0_13
; %bb.12:
	ldr	x1, [sp, #16]
	ldp	w2, w3, [sp, #8]
Lloh15:
	adrp	x0, l_.str.6@PAGE
Lloh16:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_pr_info
	mov	w0, #0
LBB0_13:
	ldur	x8, [x29, #-40]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"parameter too long\n"

l_.str.1:                               ; @.str.1
	.asciz	","

l_.str.2:                               ; @.str.2
	.asciz	"too many arguments\n"

l_.str.3:                               ; @.str.3
	.asciz	"not enough arguments\n"

l_.str.4:                               ; @.str.4
	.asciz	"illegal start address\n"

l_.str.5:                               ; @.str.5
	.asciz	"illegal device length\n"

l_.str.6:                               ; @.str.6
	.asciz	"%s device: %#x at %#x\n"

	.no_dead_strip	_phram_setup
.subsections_via_symbols
