	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vpd_section_attrib_add
_vpd_section_attrib_add:                ## @vpd_section_attrib_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	%rdi, %r15
	callq	_vpd_section_check_key_name
	movq	_VPD_OK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	cmpq	%rbx, %rax
	jne	LBB0_9
## %bb.1:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	$56, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r13
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_kstrndup
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	leaq	16(%r13), %rbx
	movq	%rbx, %rdi
	callq	_sysfs_bin_attr_init
	movq	(%r13), %rax
	movq	%rax, 40(%r13)
	movl	$292, 32(%r13)                  ## imm = 0x124
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 28(%r13)
	movq	_vpd_attrib_read@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r13)
	movq	%r13, 16(%r13)
	movq	%r12, 48(%r13)
	movq	%r13, %r14
	addq	$8, %r14
	movq	%r14, %rdi
	callq	_INIT_LIST_HEAD
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	4(%r15), %edi
	movq	%rbx, %rsi
	callq	_sysfs_create_bin_file
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	%eax, %ebx
	movq	(%r13), %rdi
	callq	_kfree
	jmp	LBB0_8
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movq	%r13, %rdi
	callq	_kfree
	jmp	LBB0_9
LBB0_6:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_list_add_tail
	xorl	%ebx, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VPD_OK,8,3                     ## @VPD_OK
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_vpd_attrib_read,4,2            ## @vpd_attrib_read
	.no_dead_strip	_vpd_section_attrib_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vpd_section_attrib_add
_vpd_section_attrib_add:                ; @vpd_section_attrib_add
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x22, x3
	mov	x21, x2
	mov	x24, x1
	mov	x25, x0
	bl	_vpd_section_check_key_name
Lloh0:
	adrp	x8, _VPD_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VPD_OK@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	cmp	x0, x23
	b.ne	LBB0_9
; %bb.1:
Lloh3:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	w0, #56
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	ldr	w2, [x23]
	mov	x0, x25
	mov	x1, x24
	bl	_kstrndup
	str	x0, [x20]
	cbz	x0, LBB0_6
; %bb.3:
	add	x23, x20, #16
	mov	x0, x23
	bl	_sysfs_bin_attr_init
	ldr	x8, [x20]
	mov	w9, #292
	str	w9, [x20, #32]
Lloh5:
	adrp	x9, _vpd_attrib_read@GOTPAGE
Lloh6:
	ldr	x9, [x9, _vpd_attrib_read@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w22, [x20, #24]
	str	x20, [x20, #16]
	stp	x8, x21, [x20, #40]
	add	x21, x20, #8
	mov	x0, x21
	bl	_INIT_LIST_HEAD
	ldr	w0, [x19, #4]
	mov	x1, x23
	bl	_sysfs_create_bin_file
	mov	x23, x0
	cbz	w0, LBB0_8
; %bb.4:
	ldr	x0, [x20]
	bl	_kfree
	b	LBB0_7
LBB0_5:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_9
LBB0_6:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_7:
	mov	x0, x20
	bl	_kfree
	b	LBB0_9
LBB0_8:
	mov	x0, x21
	mov	x1, x19
	bl	_list_add_tail
LBB0_9:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_VPD_OK,8,3                     ; @VPD_OK
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_vpd_attrib_read,4,2            ; @vpd_attrib_read
	.no_dead_strip	_vpd_section_attrib_add
.subsections_via_symbols
