	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bootpart_size                  ## -- Begin function bootpart_size
	.p2align	4, 0x90
_bootpart_size:                         ## @bootpart_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	callq	_x86_bootmethod
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	movq	%rax, %rcx
	movl	$524288, %eax                   ## imm = 0x80000
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:
	movq	_EFI_BOOTPART_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GPT"

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

	.comm	_EFI_BOOTPART_SIZE,8,3          ## @EFI_BOOTPART_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bootpart_size                  ; -- Begin function bootpart_size
	.p2align	2
_bootpart_size:                         ; @bootpart_size
	.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
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	_x86_bootmethod
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
Lloh4:
	adrp	x8, _EFI_BOOTPART_SIZE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EFI_BOOTPART_SIZE@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	mov	w9, #524288
	cmp	x0, #0
	csel	x0, x9, x8, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GPT"

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

	.comm	_EFI_BOOTPART_SIZE,8,3          ; @EFI_BOOTPART_SIZE
.subsections_via_symbols
