	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efipart_hdinfo_add
_efipart_hdinfo_add:                    ## @efipart_hdinfo_add
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_efipart_hdinfo_add_node
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	_pdinfo@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_pd_link@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	_hdinfo@GOTPCREL(%rip), %rdi
	callq	_STAILQ_LAST
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	8(%rax), %rax
	incq	%rax
	jmp	LBB0_4
LBB0_2:
	xorl	%eax, %eax
LBB0_4:
	movq	%rax, 8(%rbx)
	movq	_efipart_hddev@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	movl	(%r14), %edx
	movq	_hdinfo@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_STAILQ_INSERT_TAIL             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_hdinfo,4,2                     ## @hdinfo
	.comm	_pdinfo,4,2                     ## @pdinfo
	.comm	_pd_link,4,2                    ## @pd_link
	.comm	_efipart_hddev,4,2              ## @efipart_hddev
	.no_dead_strip	_efipart_hdinfo_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efipart_hdinfo_add
_efipart_hdinfo_add:                    ; @efipart_hdinfo_add
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_efipart_hdinfo_add_node
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh0:
	adrp	x8, _pdinfo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pdinfo@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x20, _pd_link@GOTPAGE
Lloh4:
	ldr	x20, [x20, _pd_link@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh5:
	adrp	x0, _hdinfo@GOTPAGE
Lloh6:
	ldr	x0, [x0, _hdinfo@GOTPAGEOFF]
	bl	_STAILQ_LAST
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x0, #8]
	add	x8, x8, #1
	b	LBB0_5
LBB0_4:
	mov	x8, #0
LBB0_5:
Lloh7:
	adrp	x9, _efipart_hddev@GOTPAGE
Lloh8:
	ldr	x9, [x9, _efipart_hddev@GOTPAGEOFF]
	stp	x9, x8, [x19]
	ldr	w2, [x20]
Lloh9:
	adrp	x0, _hdinfo@GOTPAGE
Lloh10:
	ldr	x0, [x0, _hdinfo@GOTPAGEOFF]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_STAILQ_INSERT_TAIL
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_hdinfo,4,2                     ; @hdinfo
	.comm	_pdinfo,4,2                     ; @pdinfo
	.comm	_pd_link,4,2                    ; @pd_link
	.comm	_efipart_hddev,4,2              ; @efipart_hddev
	.no_dead_strip	_efipart_hdinfo_add
.subsections_via_symbols
