	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fjes_acpi_add
_fjes_acpi_add:                         ## @fjes_acpi_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_is_extended_socket_device
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_acpi_check_extended_socket_status
	testq	%rax, %rax
	jne	LBB0_1
## %bb.3:
	movl	8(%r14), %edi
	movq	_METHOD_NAME__CRS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_fjes_get_acpi_resource@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_fjes_resource@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	callq	_acpi_walk_resources
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_4
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_DRV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	(%rbx), %r12d
	movl	%r12d, %edi
	callq	_ARRAY_SIZE
	xorl	%ebx, %ebx
	movl	%r15d, %edi
	xorl	%esi, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_platform_device_register_simple
	movq	%rax, (%r14)
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_METHOD_NAME__CRS,4,2           ## @METHOD_NAME__CRS
	.comm	_fjes_get_acpi_resource,4,2     ## @fjes_get_acpi_resource
	.comm	_fjes_resource,4,2              ## @fjes_resource
	.comm	_DRV_NAME,4,2                   ## @DRV_NAME
	.no_dead_strip	_fjes_acpi_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fjes_acpi_add
_fjes_acpi_add:                         ; @fjes_acpi_add
	.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	x19, x0
	bl	_is_extended_socket_device
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_acpi_check_extended_socket_status
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x19, #8]
Lloh0:
	adrp	x8, _METHOD_NAME__CRS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _METHOD_NAME__CRS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _fjes_get_acpi_resource@GOTPAGE
Lloh4:
	ldr	x8, [x8, _fjes_get_acpi_resource@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x21, _fjes_resource@GOTPAGE
Lloh7:
	ldr	x21, [x21, _fjes_resource@GOTPAGEOFF]
	ldr	w3, [x21]
	bl	_acpi_walk_resources
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_5
LBB0_3:
Lloh8:
	adrp	x8, _ENODEV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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
LBB0_5:
Lloh11:
	adrp	x8, _DRV_NAME@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DRV_NAME@GOTPAGEOFF]
Lloh13:
	ldr	w20, [x8]
	ldr	w21, [x21]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x3, x0
	mov	x0, x20
	mov	w1, #0
	mov	x2, x21
	bl	_platform_device_register_simple
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_METHOD_NAME__CRS,4,2           ; @METHOD_NAME__CRS
	.comm	_fjes_get_acpi_resource,4,2     ; @fjes_get_acpi_resource
	.comm	_fjes_resource,4,2              ; @fjes_resource
	.comm	_DRV_NAME,4,2                   ; @DRV_NAME
	.no_dead_strip	_fjes_acpi_add
.subsections_via_symbols
