	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vpd_section_init
_vpd_section_init:                      ## @vpd_section_init
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movl	%edx, %eax
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_MEMREMAP_WB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_memremap
	movl	%eax, 12(%rbx)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r14, (%rbx)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	callq	_kasprintf
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	24(%rbx), %r12
	movq	%r12, %rdi
	callq	_sysfs_bin_attr_init
	movq	16(%rbx), %rax
	movq	%rax, 56(%rbx)
	movl	$292, 48(%rbx)                  ## imm = 0x124
	movq	%r15, 24(%rbx)
	movq	_vpd_section_read@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	%rbx, 32(%rbx)
	movq	_vpd_kobj@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	%r12, %rsi
	callq	_sysfs_create_bin_file
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_5
LBB0_7:
	movq	16(%rbx), %rdi
	callq	_kfree
	jmp	LBB0_8
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_9
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_8:
	movl	12(%rbx), %edi
	callq	_memunmap
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_kobject_create_and_add
	movl	%eax, 68(%rbx)
	testl	%eax, %eax
	je	LBB0_6
## %bb.10:
	leaq	64(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movq	%rbx, %rdi
	callq	_vpd_section_create_attribs
	movl	$1, 8(%rbx)
	xorl	%r15d, %r15d
	jmp	LBB0_9
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	movl	(%r13), %edi
	movq	%r12, %rsi
	callq	_sysfs_remove_bin_file
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_MEMREMAP_WB,4,2                ## @MEMREMAP_WB
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s_raw"

	.comm	_vpd_section_read,4,2           ## @vpd_section_read
	.comm	_vpd_kobj,4,2                   ## @vpd_kobj
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_vpd_section_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vpd_section_init
_vpd_section_init:                      ; @vpd_section_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x3
	mov	x8, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x9, _MEMREMAP_WB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MEMREMAP_WB@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x9]
	mov	x0, x8
	mov	x1, x3
	bl	_memremap
	str	w0, [x19, #12]
	cbz	w0, LBB0_4
; %bb.1:
	str	x20, [x19]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_kasprintf
	str	x0, [x19, #16]
	cbz	x0, LBB0_5
; %bb.2:
	add	x21, x19, #24
	mov	x0, x21
	bl	_sysfs_bin_attr_init
	ldr	x8, [x19, #16]
	str	x8, [x19, #56]
	mov	w8, #292
	str	w8, [x19, #48]
Lloh8:
	adrp	x8, _vpd_section_read@GOTPAGE
Lloh9:
	ldr	x8, [x8, _vpd_section_read@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19, #40]
	stp	x22, x19, [x19, #24]
Lloh11:
	adrp	x23, _vpd_kobj@GOTPAGE
Lloh12:
	ldr	x23, [x23, _vpd_kobj@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	x1, x21
	bl	_sysfs_create_bin_file
	mov	x22, x0
	cbz	w0, LBB0_8
LBB0_3:
	ldr	x0, [x19, #16]
	bl	_kfree
	b	LBB0_6
LBB0_4:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_7
LBB0_5:
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_6:
	ldr	w0, [x19, #12]
	bl	_memunmap
LBB0_7:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	w1, [x23]
	mov	x0, x20
	bl	_kobject_create_and_add
	str	w0, [x19, #68]
	cbz	w0, LBB0_10
; %bb.9:
	add	x0, x19, #64
	bl	_INIT_LIST_HEAD
	mov	x0, x19
	bl	_vpd_section_create_attribs
	mov	w22, #0
	mov	w8, #1
	str	w8, [x19, #8]
	b	LBB0_7
LBB0_10:
Lloh19:
	adrp	x8, _EINVAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w22, w8
	ldr	w0, [x23]
	mov	x1, x21
	bl	_sysfs_remove_bin_file
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_MEMREMAP_WB,4,2                ; @MEMREMAP_WB
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s_raw"

	.comm	_vpd_section_read,4,2           ; @vpd_section_read
	.comm	_vpd_kobj,4,2                   ; @vpd_kobj
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_vpd_section_init
.subsections_via_symbols
