	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _fdt_strtovect
__fdt_strtovect:                        ## @_fdt_strtovect
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r14d
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	callq	_strlen
	xorl	%edx, %edx
	cmpb	$4, %r14b
	movl	$0, %r14d
	cmoveq	%rbx, %r14
	movl	$0, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	cmoveq	%rdx, %rbx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	testl	%r12d, %r12d
	je	LBB0_17
## %bb.1:
	cltq
	leaq	(%rax,%r13), %r15
	addq	$-2, %r15
	cmpq	%r13, %r15
	jbe	LBB0_17
## %bb.2:
	decl	%r12d
	movl	%r12d, %eax
	xorl	%r12d, %r12d
	testl	%eax, %eax
                                        ## kill: def $eax killed $eax def $rax
	cmovlel	%r12d, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r15, %r13
	jae	LBB0_16
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
	leaq	1(%r13), %rax
	movq	%r13, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rax, %r13
	movsbl	(%rbx), %edi
	callq	_isxdigit
	leaq	1(%rbx), %rdi
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	leaq	1(%r13), %rax
	cmpq	%r15, %rbx
	movq	%rdi, %rbx
	jb	LBB0_4
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	decq	%rdi
	xorl	%esi, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_strtol
	testq	%r14, %r14
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %edi
	callq	_cpu_to_fdt32
	movl	%eax, (%r14,%r12,4)
	cmpq	-48(%rbp), %r12                 ## 8-byte Folded Reload
	jne	LBB0_10
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r12,8)
	cmpq	-48(%rbp), %r12                 ## 8-byte Folded Reload
	je	LBB0_17
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	(%r13), %edi
	callq	_isxdigit
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpb	$120, (%r13)
	jne	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=2
	cmpq	%r15, %r13
	jae	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=2
	incq	%r13
	jmp	LBB0_11
LBB0_16:
                                        ## kill: def $r12d killed $r12d killed $r12 def $r12
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
LBB0_17:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	__fdt_strtovect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _fdt_strtovect
__fdt_strtovect:                        ; @_fdt_strtovect
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x4
	mov	x23, x3
	mov	x22, x2
	mov	x24, x1
	mov	x21, x0
	bl	_strlen
	mov	w20, #0
	cmp	w23, #4
	csel	x23, x24, xzr, eq
	csel	x24, xzr, x24, eq
	cbz	w22, LBB0_15
; %bb.1:
	add	x8, x21, w0, sxtw
	sub	x25, x8, #2
	cmp	x25, x21
	b.ls	LBB0_15
; %bb.2:
	mov	x26, #0
	sub	w8, w22, #1
	cmp	w8, #0
	csel	w20, w8, wzr, gt
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x21, x25
	b.hs	LBB0_14
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
	add	x8, x21, #1
	mov	x27, x21
	mov	x22, x21
LBB0_5:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x21, x8
	ldrsb	w0, [x22], #1
	bl	_isxdigit
	add	x8, x21, #1
	cmp	x0, #0
	ccmp	x27, x25, #2, eq
	mov	x27, x22
	b.lo	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x0, x22, #1
	mov	x1, #0
	mov	x2, x19
	bl	_strtol
	cbz	x23, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_cpu_to_fdt32
	str	w0, [x23, x26, lsl #2]
	cmp	x26, x20
	b.ne	LBB0_9
	b	LBB0_15
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x0, [x24, x26, lsl #3]
	cmp	x26, x20
	b.eq	LBB0_15
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x26, #1
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=2
	ldrb	w8, [x21]
	cmp	w8, #120
	ccmp	x21, x25, #2, eq
	b.hs	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	add	x21, x21, #1
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w0, [x21]
	bl	_isxdigit
	cbz	x0, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	cmp	x21, x25
	b.lo	LBB0_11
	b	LBB0_3
LBB0_14:
	mov	x20, x26
LBB0_15:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	__fdt_strtovect
.subsections_via_symbols
