	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kboot_get_kernel_machine_bits  ## -- Begin function kboot_get_kernel_machine_bits
	.p2align	4, 0x90
_kboot_get_kernel_machine_bits:         ## @kboot_get_kernel_machine_bits
	.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
	cmpl	$0, _kboot_get_kernel_machine_bits.bits(%rip)
	jne	LBB0_5
## %bb.1:
	movl	$32, _kboot_get_kernel_machine_bits.bits(%rip)
	leaq	-16(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%rbx, %rdi
	callq	_host_uname
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	movl	-16(%rbp), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	-16(%rbp), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_5
LBB0_4:
	movl	$64, _kboot_get_kernel_machine_bits.bits(%rip)
LBB0_5:
	movl	_kboot_get_kernel_machine_bits.bits(%rip), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_kboot_get_kernel_machine_bits.bits,4,2 ## @kboot_get_kernel_machine_bits.bits
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ppc64"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kboot_get_kernel_machine_bits  ; -- Begin function kboot_get_kernel_machine_bits
	.p2align	2
_kboot_get_kernel_machine_bits:         ; @kboot_get_kernel_machine_bits
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	adrp	x19, _kboot_get_kernel_machine_bits.bits@PAGE
	ldr	w8, [x19, _kboot_get_kernel_machine_bits.bits@PAGEOFF]
	cbnz	w8, LBB0_5
; %bb.1:
	mov	w8, #32
	str	w8, [x19, _kboot_get_kernel_machine_bits.bits@PAGEOFF]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x0, sp, #8
	bl	_host_uname
	cbnz	w0, LBB0_5
; %bb.2:
	ldr	w0, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [sp, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_5
LBB0_4:
	mov	w8, #64
	str	w8, [x19, _kboot_get_kernel_machine_bits.bits@PAGEOFF]
LBB0_5:
	ldr	w0, [x19, _kboot_get_kernel_machine_bits.bits@PAGEOFF]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_kboot_get_kernel_machine_bits.bits,4,2 ; @kboot_get_kernel_machine_bits.bits
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ppc64"

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

.subsections_via_symbols
