	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GetBIOSValue
_GetBIOSValue:                          ## @GetBIOSValue
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movl	%ecx, %r14d
	movl	%edx, %r15d
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movl	%esi, %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	movq	%r9, %rcx
	callq	_GetSMBiosStringW
	testq	%rax, %rax
	jne	LBB0_4
LBB0_2:
	movq	_HKEY_LOCAL_MACHINE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_REG_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	shll	$2, %ebx
	leaq	l_.str(%rip), %rsi
	movl	%r15d, %edx
	movl	%r14d, %r8d
	movl	%ebx, %r9d
	callq	_GetRegValue
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wcslen                         ## TAILCALL
LBB0_3:
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HKEY_LOCAL_MACHINE,4,2         ## @HKEY_LOCAL_MACHINE
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	72                              ## 0x48
	.long	97                              ## 0x61
	.long	114                             ## 0x72
	.long	100                             ## 0x64
	.long	119                             ## 0x77
	.long	97                              ## 0x61
	.long	114                             ## 0x72
	.long	101                             ## 0x65
	.long	92                              ## 0x5c
	.long	68                              ## 0x44
	.long	101                             ## 0x65
	.long	115                             ## 0x73
	.long	99                              ## 0x63
	.long	114                             ## 0x72
	.long	105                             ## 0x69
	.long	112                             ## 0x70
	.long	116                             ## 0x74
	.long	105                             ## 0x69
	.long	111                             ## 0x6f
	.long	110                             ## 0x6e
	.long	92                              ## 0x5c
	.long	83                              ## 0x53
	.long	121                             ## 0x79
	.long	115                             ## 0x73
	.long	116                             ## 0x74
	.long	101                             ## 0x65
	.long	109                             ## 0x6d
	.long	92                              ## 0x5c
	.long	66                              ## 0x42
	.long	73                              ## 0x49
	.long	79                              ## 0x4f
	.long	83                              ## 0x53
	.long	0                               ## 0x0

	.comm	_REG_SZ,4,2                     ## @REG_SZ
	.no_dead_strip	_GetBIOSValue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GetBIOSValue
_GetBIOSValue:                          ; @GetBIOSValue
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x4
	mov	x19, x3
	mov	x20, x2
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x1
	mov	x1, x19
	mov	x2, x21
	mov	x3, x5
	bl	_GetSMBiosStringW
	cbnz	x0, LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _HKEY_LOCAL_MACHINE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HKEY_LOCAL_MACHINE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _REG_SZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_SZ@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	lsl	w5, w21, #2
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	mov	x4, x19
	bl	_GetRegValue
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_wcslen
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HKEY_LOCAL_MACHINE,4,2         ; @HKEY_LOCAL_MACHINE
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	72                              ; 0x48
	.long	97                              ; 0x61
	.long	114                             ; 0x72
	.long	100                             ; 0x64
	.long	119                             ; 0x77
	.long	97                              ; 0x61
	.long	114                             ; 0x72
	.long	101                             ; 0x65
	.long	92                              ; 0x5c
	.long	68                              ; 0x44
	.long	101                             ; 0x65
	.long	115                             ; 0x73
	.long	99                              ; 0x63
	.long	114                             ; 0x72
	.long	105                             ; 0x69
	.long	112                             ; 0x70
	.long	116                             ; 0x74
	.long	105                             ; 0x69
	.long	111                             ; 0x6f
	.long	110                             ; 0x6e
	.long	92                              ; 0x5c
	.long	83                              ; 0x53
	.long	121                             ; 0x79
	.long	115                             ; 0x73
	.long	116                             ; 0x74
	.long	101                             ; 0x65
	.long	109                             ; 0x6d
	.long	92                              ; 0x5c
	.long	66                              ; 0x42
	.long	73                              ; 0x49
	.long	79                              ; 0x4f
	.long	83                              ; 0x53
	.long	0                               ; 0x0

	.comm	_REG_SZ,4,2                     ; @REG_SZ
	.no_dead_strip	_GetBIOSValue
.subsections_via_symbols
