	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipw2100_set_wpa_ie
_ipw2100_set_wpa_ie:                    ## @ipw2100_set_wpa_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	$4, -48(%rbp)
	movl	$0, -40(%rbp)
	movq	_SET_WPA_IE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_IPW_DEBUG_HC
	testl	%r12d, %r12d
	je	LBB0_1
LBB0_2:
	xorl	%edi, %edi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ipw2100_hw_send_command
	movl	%eax, %ebx
	testl	%r12d, %r12d
	jne	LBB0_5
## %bb.3:
	movq	%r14, %rdi
	callq	_ipw2100_enable_adapter
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_1:
	movq	%r14, %rdi
	callq	_ipw2100_disable_adapter
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
LBB0_5:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SET_WPA_IE,4,2                 ## @SET_WPA_IE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SET_WPA_IE\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_ipw2100_set_wpa_ie
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ipw2100_set_wpa_ie
lCPI0_0:
	.long	4                               ; 0x4
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ipw2100_set_wpa_ie:                    ; @ipw2100_set_wpa_ie
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp]
Lloh2:
	adrp	x8, _SET_WPA_IE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SET_WPA_IE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	stp	wzr, w8, [sp, #8]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_IPW_DEBUG_HC
	cbz	w20, LBB0_4
LBB0_1:
	mov	w0, #0
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
	mov	x1, sp
	mov	x0, x19
	bl	_ipw2100_hw_send_command
	mov	x22, x0
	cbnz	w20, LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_ipw2100_enable_adapter
	cbz	x0, LBB0_5
; %bb.3:
Lloh7:
	adrp	x8, _EIO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_ipw2100_disable_adapter
	mov	x22, x0
	cbz	w0, LBB0_1
LBB0_5:
	mov	x0, x22
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SET_WPA_IE,4,2                 ; @SET_WPA_IE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SET_WPA_IE\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_ipw2100_set_wpa_ie
.subsections_via_symbols
