	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_set_gen_ie             ## -- Begin function mwifiex_set_gen_ie
	.p2align	4, 0x90
_mwifiex_set_gen_ie:                    ## @mwifiex_set_gen_ie
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	_IEEE_MAX_IE_SIZE@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jl	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movq	_MWIFIEX_IE_TYPE_GEN_IE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movl	%edx, -24(%rbp)
	callq	_memcpy
	movq	_HostCmd_ACT_GEN_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_mwifiex_misc_ioctl_gen_ie
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movq	_EFAULT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_2:
	xorl	%eax, %eax
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE_MAX_IE_SIZE,4,2           ## @IEEE_MAX_IE_SIZE
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_MWIFIEX_IE_TYPE_GEN_IE,4,2     ## @MWIFIEX_IE_TYPE_GEN_IE
	.comm	_HostCmd_ACT_GEN_SET,4,2        ## @HostCmd_ACT_GEN_SET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_set_gen_ie             ; -- Begin function mwifiex_set_gen_ie
	.p2align	2
_mwifiex_set_gen_ie:                    ; @mwifiex_set_gen_ie
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x8, _IEEE_MAX_IE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE_MAX_IE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.lt	LBB0_2
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _MWIFIEX_IE_TYPE_GEN_IE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MWIFIEX_IE_TYPE_GEN_IE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	str	w2, [sp]
	bl	_memcpy
Lloh6:
	adrp	x8, _HostCmd_ACT_GEN_SET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HostCmd_ACT_GEN_SET@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x1, sp
	mov	x0, x19
	bl	_mwifiex_misc_ioctl_gen_ie
	cbz	x0, LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _EFAULT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE_MAX_IE_SIZE,4,2           ; @IEEE_MAX_IE_SIZE
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_MWIFIEX_IE_TYPE_GEN_IE,4,2     ; @MWIFIEX_IE_TYPE_GEN_IE
	.comm	_HostCmd_ACT_GEN_SET,4,2        ; @HostCmd_ACT_GEN_SET
.subsections_via_symbols
