	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_sysfs_table_handler
_acpi_sysfs_table_handler:              ## @acpi_sysfs_table_handler
	.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
	cmpl	$128, %edi
	je	LBB0_8
## %bb.1:
	cmpl	$129, %edi
	jne	LBB0_2
## %bb.3:
	movq	%rsi, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_acpi_table_attr_init
	movq	_dynamic_tables_kobj@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	addq	$4, %rsi
	callq	_sysfs_create_bin_file
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_kfree
	movq	_AE_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_2:
	movq	_AE_BAD_PARAMETER@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_acpi_table_attr_list@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_list_add_tail
LBB0_8:
	movq	_AE_OK@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_AE_NO_MEMORY,4,2               ## @AE_NO_MEMORY
	.comm	_dynamic_tables_kobj,4,2        ## @dynamic_tables_kobj
	.comm	_AE_ERROR,4,2                   ## @AE_ERROR
	.comm	_acpi_table_attr_list,4,2       ## @acpi_table_attr_list
	.comm	_AE_BAD_PARAMETER,4,2           ## @AE_BAD_PARAMETER
	.comm	_AE_OK,4,2                      ## @AE_OK
	.no_dead_strip	_acpi_sysfs_table_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_sysfs_table_handler
_acpi_sysfs_table_handler:              ; @acpi_sysfs_table_handler
	.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
	cmp	w0, #128
	b.eq	LBB0_8
; %bb.1:
	cmp	w0, #129
	b.ne	LBB0_5
; %bb.2:
	mov	x20, x1
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #8
	bl	_kzalloc
	cbz	x0, LBB0_6
; %bb.3:
	mov	x19, x0
	mov	x1, x20
	bl	_acpi_table_attr_init
Lloh3:
	adrp	x8, _dynamic_tables_kobj@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dynamic_tables_kobj@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_sysfs_create_bin_file
	cbz	w0, LBB0_7
; %bb.4:
	mov	x0, x19
	bl	_kfree
Lloh6:
	adrp	x8, _AE_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AE_ERROR@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
Lloh8:
	adrp	x8, _AE_BAD_PARAMETER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AE_BAD_PARAMETER@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
Lloh10:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh12:
	adrp	x1, _acpi_table_attr_list@GOTPAGE
Lloh13:
	ldr	x1, [x1, _acpi_table_attr_list@GOTPAGEOFF]
	mov	x0, x19
	bl	_list_add_tail
LBB0_8:
Lloh14:
	adrp	x8, _AE_OK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_AE_NO_MEMORY,4,2               ; @AE_NO_MEMORY
	.comm	_dynamic_tables_kobj,4,2        ; @dynamic_tables_kobj
	.comm	_AE_ERROR,4,2                   ; @AE_ERROR
	.comm	_acpi_table_attr_list,4,2       ; @acpi_table_attr_list
	.comm	_AE_BAD_PARAMETER,4,2           ; @AE_BAD_PARAMETER
	.comm	_AE_OK,4,2                      ; @AE_OK
	.no_dead_strip	_acpi_sysfs_table_handler
.subsections_via_symbols
