	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vpd_identify
_vpd_identify:                          ## @vpd_identify
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_device_is_alive
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_VPD_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_VPD_SIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VPD_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_VPD_STEP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_VPD_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	callq	_bios_sigsearch
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_ADDR2VPD
	movl	(%rax), %r12d
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %edi
	movl	$5, %esi
	movl	$-1, %ecx
	callq	_BUS_ADD_CHILD
	movl	%eax, %ebx
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_device_set_driver
	movq	_SYS_RES_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	xorl	%edx, %edx
	movq	%r15, %rcx
	movl	%r12d, %r8d
	callq	_bus_set_resource
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_device_set_desc                ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VPD_START,4,2                  ## @VPD_START
	.comm	_VPD_SIG,4,2                    ## @VPD_SIG
	.comm	_VPD_LEN,4,2                    ## @VPD_LEN
	.comm	_VPD_STEP,4,2                   ## @VPD_STEP
	.comm	_VPD_OFF,4,2                    ## @VPD_OFF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vpd"

	.comm	_SYS_RES_MEMORY,4,2             ## @SYS_RES_MEMORY
L_.str.1:                               ## @.str.1
	.asciz	"Vital Product Data Area"

	.no_dead_strip	_vpd_identify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vpd_identify
_vpd_identify:                          ; @vpd_identify
	.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	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_device_is_alive
	cbz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _VPD_START@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VPD_START@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _VPD_SIG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VPD_SIG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _VPD_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VPD_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _VPD_STEP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VPD_STEP@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
Lloh12:
	adrp	x8, _VPD_OFF@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VPD_OFF@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
	bl	_bios_sigsearch
	cbz	x0, LBB0_3
; %bb.2:
	mov	x21, x0
	bl	_ADDR2VPD
	ldr	w22, [x0]
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	w1, #5
	mov	w3, #-1
	bl	_BUS_ADD_CHILD
	mov	x20, x0
	mov	x1, x19
	bl	_device_set_driver
Lloh17:
	adrp	x8, _SYS_RES_MEMORY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SYS_RES_MEMORY@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	mov	x3, x21
	mov	x4, x22
	bl	_bus_set_resource
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	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	_device_set_desc
LBB0_3:
	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 AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_VPD_START,4,2                  ; @VPD_START
	.comm	_VPD_SIG,4,2                    ; @VPD_SIG
	.comm	_VPD_LEN,4,2                    ; @VPD_LEN
	.comm	_VPD_STEP,4,2                   ; @VPD_STEP
	.comm	_VPD_OFF,4,2                    ; @VPD_OFF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vpd"

	.comm	_SYS_RES_MEMORY,4,2             ; @SYS_RES_MEMORY
l_.str.1:                               ; @.str.1
	.asciz	"Vital Product Data Area"

	.no_dead_strip	_vpd_identify
.subsections_via_symbols
