	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uclogic_params_get_desc        ## -- Begin function uclogic_params_get_desc
	.p2align	4, 0x90
_uclogic_params_get_desc:               ## @uclogic_params_get_desc
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	%rsi, %r13
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.5:
	movq	%rdi, %rbx
	movq	40(%rdi), %r15
	xorl	%r12d, %r12d
	cmpl	$0, 48(%rdi)
	movl	$0, %edi
	jne	LBB0_7
## %bb.6:
	cmpq	$0, 24(%rbx)
	setne	%dil
LBB0_7:
	testq	%r15, %r15
	je	LBB0_9
## %bb.8:
	movl	32(%rbx), %r12d
LBB0_9:
	movq	8(%rbx), %rcx
	testb	%dil, %dil
	je	LBB0_11
## %bb.10:
	addl	16(%rbx), %r12d
LBB0_11:
	testq	%rcx, %rcx
	je	LBB0_15
## %bb.12:
	addl	(%rbx), %r12d
	jmp	LBB0_13
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_15:
	testq	%r15, %r15
	setne	%al
	orb	%dil, %al
	cmpb	$1, %al
	jne	LBB0_16
LBB0_13:
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_14
## %bb.17:
	movq	%rax, %r14
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %r13
	testq	%r15, %r15
	je	LBB0_19
## %bb.18:
	movq	32(%rbx), %rdx
	movq	40(%rbx), %rsi
	movq	%r14, %rdi
	callq	_memcpy
	movq	32(%rbx), %rax
	leaq	(%r14,%rax,4), %r13
LBB0_19:
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_21
## %bb.20:
	movq	16(%rbx), %rdx
	movq	24(%rbx), %rsi
	movq	%r13, %rdi
	callq	_memcpy
	movq	16(%rbx), %rax
	leaq	(%r13,%rax,4), %r13
LBB0_21:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	movq	(%rbx), %rdx
	movq	8(%rbx), %rsi
	movq	%r13, %rdi
	callq	_memcpy
	movq	(%rbx), %rax
	leaq	(%r13,%rax,4), %r13
LBB0_23:
	movl	%r12d, %eax
	leaq	(%r14,%rax,4), %rax
	xorl	%edi, %edi
	cmpq	%rax, %r13
	setne	%dil
	callq	_WARN_ON
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%r12d, (%rax)
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_24
LBB0_14:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_4:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_25
LBB0_16:
	xorl	%r14d, %r14d
LBB0_24:
	movq	%r14, (%r13)
	xorl	%eax, %eax
LBB0_25:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uclogic_params_get_desc        ; -- Begin function uclogic_params_get_desc
	.p2align	2
_uclogic_params_get_desc:               ; @uclogic_params_get_desc
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_9
; %bb.2:
	mov	x20, x2
	cbz	x2, LBB0_9
; %bb.3:
	mov	x21, x0
	ldr	x27, [x0, #40]
	ldr	w8, [x0, #48]
	cbz	w8, LBB0_10
; %bb.4:
	mov	w26, #0
	cbz	x27, LBB0_11
LBB0_5:
	ldr	w22, [x21, #32]
	ldr	x25, [x21, #8]
	cbz	w26, LBB0_7
LBB0_6:
	ldr	w8, [x21, #16]
	add	w22, w22, w8
LBB0_7:
	cbz	x25, LBB0_12
; %bb.8:
	ldr	w8, [x21]
	add	w22, w22, w8
	b	LBB0_13
LBB0_9:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_22
LBB0_10:
	ldr	x8, [x21, #24]
	cmp	x8, #0
	cset	w26, ne
	cbnz	x27, LBB0_5
LBB0_11:
	mov	w22, #0
	ldr	x25, [x21, #8]
	cbnz	w26, LBB0_6
	b	LBB0_7
LBB0_12:
	cmp	x27, #0
	cset	w8, ne
	orr	w8, w8, w26
	cmp	w8, #1
	b.ne	LBB0_23
LBB0_13:
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_kmalloc
	cbz	x0, LBB0_21
; %bb.14:
	mov	x23, x0
	mov	x24, x0
	cbz	x27, LBB0_16
; %bb.15:
	ldp	x2, x1, [x21, #32]
	mov	x0, x23
	bl	_memcpy
	ldr	x8, [x21, #32]
	add	x24, x23, x8, lsl #2
LBB0_16:
	cbz	w26, LBB0_18
; %bb.17:
	ldp	x2, x1, [x21, #16]
	mov	x0, x24
	bl	_memcpy
	ldr	x8, [x21, #16]
	add	x24, x24, x8, lsl #2
LBB0_18:
	cbz	x25, LBB0_20
; %bb.19:
	ldp	x2, x1, [x21]
	mov	x0, x24
	bl	_memcpy
	ldr	x8, [x21]
	add	x24, x24, x8, lsl #2
LBB0_20:
	add	x8, x23, w22, uxtw #2
	cmp	x24, x8
	cset	w0, ne
	bl	_WARN_ON
	str	w22, [x20]
	b	LBB0_24
LBB0_21:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_22:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_25
LBB0_23:
	mov	x23, #0
LBB0_24:
	mov	w0, #0
	str	x23, [x19]
LBB0_25:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
