	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smbios_probe
_smbios_probe:                          ## @smbios_probe
	.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
	movq	_smbios@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	je	LBB0_1
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	$1, (%r15)
	testq	%rdi, %rdi
	jne	LBB0_3
## %bb.2:
	movq	_SMBIOS_START@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_PTOV
	movq	%rax, %rdi
LBB0_3:
	movq	_SMBIOS_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_smbios_sigsearch
	testq	%rax, %rax
	je	LBB0_13
## %bb.4:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$22, %esi
	callq	_SMBIOS_GET16
	movq	%rax, 56(%r15)
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_SMBIOS_GET32
	movq	%rax, %r14
	movq	%rbx, %rdi
	movl	$28, %esi
	callq	_SMBIOS_GET16
	movq	%rax, 48(%r15)
	movq	%rbx, %rdi
	movl	$30, %esi
	callq	_SMBIOS_GET8
	movq	%rax, %rcx
	movl	%ecx, 4(%r15)
	testl	%ecx, %ecx
	je	LBB0_8
## %bb.5:
	movl	%ecx, %edx
	sarl	$4, %edx
	movl	%edx, 8(%r15)
	movl	%ecx, %eax
	andl	$15, %eax
	movl	%eax, 12(%r15)
	cmpl	$159, %ecx
	jg	LBB0_7
## %bb.6:
	cmpl	$10, %eax
	jb	LBB0_9
LBB0_7:
	movl	$0, 4(%r15)
LBB0_8:
	movq	%rbx, %rdi
	movl	$6, %esi
	callq	_SMBIOS_GET8
	movl	%eax, 8(%r15)
	movq	%rbx, %rdi
	movl	$7, %esi
	callq	_SMBIOS_GET8
	movl	%eax, 12(%r15)
	movl	8(%r15), %edx
LBB0_9:
	shll	$8, %edx
	orl	%eax, %edx
	movl	%edx, 4(%r15)
	movq	%r14, %rdi
	callq	_PTOV
	movq	%rax, 40(%r15)
	xorl	%edi, %edi
	callq	_smbios_find_struct
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%rax, %rdi
	movl	$4, %esi
	callq	_smbios_getstring
	movq	%rax, 32(%r15)
LBB0_11:
	movl	$1, %edi
	callq	_smbios_find_struct
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$4, %esi
	callq	_smbios_getstring
	movq	%rax, 24(%r15)
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_smbios_getstring
	movq	%rax, 16(%r15)
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_smbios,64,3                    ## @smbios
	.comm	_SMBIOS_START,8,3               ## @SMBIOS_START
	.comm	_SMBIOS_LENGTH,4,2              ## @SMBIOS_LENGTH
	.no_dead_strip	_smbios_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smbios_probe
_smbios_probe:                          ; @smbios_probe
	.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
Lloh0:
	adrp	x21, _smbios@GOTPAGE
Lloh1:
	ldr	x21, [x21, _smbios@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w8, LBB0_2
LBB0_1:
	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
LBB0_2:
	mov	w8, #1
	str	w8, [x21]
	cbnz	x0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _SMBIOS_START@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SMBIOS_START@GOTPAGEOFF]
Lloh4:
	ldr	x0, [x8]
	bl	_PTOV
LBB0_4:
Lloh5:
	adrp	x8, _SMBIOS_LENGTH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SMBIOS_LENGTH@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_smbios_sigsearch
	cbz	x0, LBB0_1
; %bb.5:
	mov	x20, x0
	mov	w1, #22
	bl	_SMBIOS_GET16
	str	x0, [x21, #56]
	mov	x0, x20
	mov	w1, #24
	bl	_SMBIOS_GET32
	mov	x19, x0
	mov	x0, x20
	mov	w1, #28
	bl	_SMBIOS_GET16
	str	x0, [x21, #48]
	mov	x0, x20
	mov	w1, #30
	bl	_SMBIOS_GET8
	mov	x8, x0
	str	w8, [x21, #4]
	cbz	w8, LBB0_8
; %bb.6:
	asr	w9, w8, #4
	and	w0, w8, #0xf
	stp	w9, w0, [x21, #8]
	cmp	w8, #159
	ccmp	w0, #10, #2, le
	b.lo	LBB0_9
; %bb.7:
	str	wzr, [x21, #4]
LBB0_8:
	mov	x0, x20
	mov	w1, #6
	bl	_SMBIOS_GET8
	str	w0, [x21, #8]
	mov	x0, x20
	mov	w1, #7
	bl	_SMBIOS_GET8
	str	w0, [x21, #12]
	ldr	w9, [x21, #8]
LBB0_9:
	orr	w8, w0, w9, lsl #8
	str	w8, [x21, #4]
	mov	x0, x19
	bl	_PTOV
	str	x0, [x21, #40]
	mov	w0, #0
	bl	_smbios_find_struct
	cbz	x0, LBB0_11
; %bb.10:
	mov	w1, #4
	bl	_smbios_getstring
	str	x0, [x21, #32]
LBB0_11:
	mov	w0, #1
	bl	_smbios_find_struct
	cbz	x0, LBB0_1
; %bb.12:
	mov	x19, x0
	mov	w1, #4
	bl	_smbios_getstring
	str	x0, [x21, #24]
	mov	x0, x19
	mov	w1, #5
	bl	_smbios_getstring
	str	x0, [x21, #16]
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_smbios,64,3                    ; @smbios
	.comm	_SMBIOS_START,8,3               ; @SMBIOS_START
	.comm	_SMBIOS_LENGTH,4,2              ; @SMBIOS_LENGTH
	.no_dead_strip	_smbios_probe
.subsections_via_symbols
