	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2o_parm_field_get             ## -- Begin function i2o_parm_field_get
	.p2align	4, 0x90
_i2o_parm_field_get:                    ## @i2o_parm_field_get
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movq	%rcx, %r14
	movl	%edx, %r13d
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$1, %edi
	callq	_cpu_to_le32
	movl	%eax, -60(%rbp)
	shll	$16, %ebx
	movq	_I2O_PARAMS_FIELD_GET@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_cpu_to_le32
	movl	%eax, -56(%rbp)
	shll	$16, %r13d
	orl	$1, %r13d
	movl	%r13d, %edi
	callq	_cpu_to_le32
	movl	%eax, -52(%rbp)
	leal	8(%r12), %r13d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_I2O_CMD_UTIL_PARAMS_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-60(%rbp), %rdx
	movq	%r15, %rdi
	movl	$12, %ecx
	movq	%rbx, %r8
	movl	%r13d, %r9d
	callq	_i2o_parm_issue
	movl	%eax, %r15d
	movq	%rbx, %rsi
	addq	$32, %rsi
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	callq	_kfree
	jmp	LBB0_3
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_I2O_PARAMS_FIELD_GET,4,2       ## @I2O_PARAMS_FIELD_GET
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_I2O_CMD_UTIL_PARAMS_GET,4,2    ## @I2O_CMD_UTIL_PARAMS_GET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2o_parm_field_get             ; -- Begin function i2o_parm_field_get
	.p2align	2
_i2o_parm_field_get:                    ; @i2o_parm_field_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	mov	w24, #1
	mov	w0, #1
	bl	_cpu_to_le32
	str	w0, [sp, #12]
Lloh3:
	adrp	x8, _I2O_PARAMS_FIELD_GET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I2O_PARAMS_FIELD_GET@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w0, w8, w23, lsl #16
	bl	_cpu_to_le32
	str	w0, [sp, #16]
	bfi	w24, w22, #16, #16
	mov	x0, x24
	bl	_cpu_to_le32
	str	w0, [sp, #20]
	add	w23, w19, #8
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_kmalloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x22, x0
Lloh9:
	adrp	x8, _I2O_CMD_UTIL_PARAMS_GET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _I2O_CMD_UTIL_PARAMS_GET@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x21
	mov	w3, #12
	mov	x4, x22
	mov	x5, x23
	bl	_i2o_parm_issue
	mov	x21, x0
	add	x1, x22, #32
	mov	x0, x20
	mov	x2, x19
	bl	_memcpy
	mov	x0, x22
	bl	_kfree
	b	LBB0_3
LBB0_2:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_3:
	ldr	x8, [sp, #24]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x21
	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
	add	sp, sp, #96
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_I2O_PARAMS_FIELD_GET,4,2       ; @I2O_PARAMS_FIELD_GET
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_I2O_CMD_UTIL_PARAMS_GET,4,2    ; @I2O_CMD_UTIL_PARAMS_GET
.subsections_via_symbols
