	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smc_setup
_smc_setup:                             ## @smc_setup
	.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	%rdi, %r13
	movq	8(%rdi), %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r15
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	leaq	24(%rax), %r12
	movq	%rax, %rbx
	addq	$8, %rbx
	movq	(%rax), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%r15)
	movq	%rax, 32(%r15)
	movl	$255, 24(%r15)
	movq	_CISTPL_FUNCE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r15)
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_first_tuple
	testl	%eax, %eax
	jne	LBB0_8
## %bb.2:
	movq	_CISTPL_FUNCE_LAN_NODE_ID@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_next_tuple
	testl	%eax, %eax
	je	LBB0_3
	jmp	LBB0_8
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_13
LBB0_6:
	movq	16(%r15), %rax
	cmpl	$6, (%rax)
	jne	LBB0_8
## %bb.7:
	movq	8(%rax), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	(%rax), %edx
	movl	%edx, (%rcx)
	movl	4(%rax), %edx
	movl	%edx, 4(%rcx)
	movl	8(%rax), %edx
	movl	%edx, 8(%rcx)
	movl	12(%rax), %edx
	movl	%edx, 12(%rcx)
	movl	16(%rax), %edx
	movl	%edx, 16(%rcx)
	movl	20(%rax), %eax
	movl	%eax, 20(%rcx)
	jmp	LBB0_11
LBB0_8:
	movq	(%r13), %rax
	movq	16(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_cvt_ascii_address
	testq	%rax, %rax
	je	LBB0_11
LBB0_10:
	movl	$-1, %ebx
	jmp	LBB0_12
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	movq	%r15, %rdi
	callq	_kfree
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_CISTPL_FUNCE,4,2               ## @CISTPL_FUNCE
	.comm	_CISTPL_FUNCE_LAN_NODE_ID,8,3   ## @CISTPL_FUNCE_LAN_NODE_ID
	.no_dead_strip	_smc_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smc_setup
_smc_setup:                             ; @smc_setup
	.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	x21, x0
	ldr	x20, [x0, #8]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #56
	bl	_kmalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	mov	w8, #255
	mov	x22, x0
	str	w8, [x22, #24]!
	add	x23, x0, #8
	ldr	x8, [x0]
	stp	xzr, xzr, [x0, #40]
	str	x8, [x0, #32]
Lloh3:
	adrp	x8, _CISTPL_FUNCE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CISTPL_FUNCE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #28]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_first_tuple
	cbnz	w0, LBB0_8
; %bb.2:
Lloh6:
	adrp	x24, _CISTPL_FUNCE_LAN_NODE_ID@GOTPAGE
Lloh7:
	ldr	x24, [x24, _CISTPL_FUNCE_LAN_NODE_ID@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_next_tuple
	cbz	w0, LBB0_3
	b	LBB0_8
LBB0_5:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_13
LBB0_6:
	ldr	x8, [x19, #16]
	ldr	w9, [x8]
	cmp	w9, #6
	b.ne	LBB0_8
; %bb.7:
	mov	w21, #0
	ldr	x8, [x8, #8]
	ldr	x9, [x20]
	ldr	w10, [x8]
	str	w10, [x9]
	ldr	w10, [x8, #4]
	str	w10, [x9, #4]
	ldr	w10, [x8, #8]
	str	w10, [x9, #8]
	ldr	w10, [x8, #12]
	str	w10, [x9, #12]
	ldr	w10, [x8, #16]
	str	w10, [x9, #16]
	ldr	w8, [x8, #20]
	str	w8, [x9, #20]
	b	LBB0_12
LBB0_8:
	ldr	x8, [x21]
	ldr	x1, [x8, #16]
	cbz	x1, LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_cvt_ascii_address
	cbz	x0, LBB0_11
LBB0_10:
	mov	w21, #-1
	b	LBB0_12
LBB0_11:
	mov	w21, #0
LBB0_12:
	mov	x0, x19
	bl	_kfree
LBB0_13:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_CISTPL_FUNCE,4,2               ; @CISTPL_FUNCE
	.comm	_CISTPL_FUNCE_LAN_NODE_ID,8,3   ; @CISTPL_FUNCE_LAN_NODE_ID
	.no_dead_strip	_smc_setup
.subsections_via_symbols
