	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ofw_getproplen                 ## -- Begin function ofw_getproplen
	.p2align	4, 0x90
_ofw_getproplen:                        ## @ofw_getproplen
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movl	%edi, %r14d
	movl	%esi, -24(%rbp)
	movq	%rdx, %rdi
	callq	_strlen
	movl	%eax, -28(%rbp)
	movq	%rbx, -40(%rbp)
	movq	_OFIOCGETPROPLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdx
	movl	%r14d, %edi
	callq	_OFW_IOCTL
	movl	-32(%rbp), %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OFIOCGETPROPLEN,4,2            ## @OFIOCGETPROPLEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ofw_getproplen                 ; -- Begin function ofw_getproplen
	.p2align	2
_ofw_getproplen:                        ; @ofw_getproplen
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x2
	mov	x20, x0
	str	w1, [sp, #24]
	mov	x0, x2
	bl	_strlen
	str	w0, [sp, #20]
	str	x19, [sp, #8]
Lloh0:
	adrp	x8, _OFIOCGETPROPLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OFIOCGETPROPLEN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_OFW_IOCTL
	ldr	w0, [sp, #16]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OFIOCGETPROPLEN,4,2            ; @OFIOCGETPROPLEN
.subsections_via_symbols
