	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipw_send_wep_keys
_ipw_send_wep_keys:                     ## @ipw_send_wep_keys
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_DINO_CMD_WEP_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	$0, -32(%rbp)
	movl	%esi, -56(%rbp)
	movq	(%rdi), %rax
	movl	(%rax), %ecx
	testb	$1, %cl
	jne	LBB0_2
## %bb.1:
	movq	$0, -48(%rbp)
	jmp	LBB0_3
LBB0_2:
	movq	16(%rax), %rcx
	movq	(%rcx), %rdx
	movq	%rdx, -48(%rbp)
	movq	8(%rax), %rax
	movl	(%rax), %esi
	callq	_memcpy
	movq	_IPW_CMD_WEP_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rcx
	movq	%r14, %rdi
	movl	$40, %edx
	callq	_ipw_send_cmd_pdu
	movq	(%r14), %rax
	movl	(%rax), %ecx
LBB0_3:
	movl	%ebx, %edx
	orl	$1, %edx
	movl	%edx, -56(%rbp)
	testb	$2, %cl
	je	LBB0_5
## %bb.4:
	movq	16(%rax), %rcx
	movq	8(%rcx), %rdx
	movq	%rdx, -48(%rbp)
	movl	-40(%rbp), %edi
	movq	8(%rax), %rax
	movl	4(%rax), %esi
	callq	_memcpy
	movq	_IPW_CMD_WEP_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rcx
	movq	%r14, %rdi
	movl	$40, %edx
	callq	_ipw_send_cmd_pdu
	movq	(%r14), %rax
	movl	(%rax), %ecx
LBB0_5:
	movl	%ebx, %edx
	orl	$2, %edx
	movl	%edx, -56(%rbp)
	testb	$4, %cl
	je	LBB0_7
## %bb.6:
	movq	16(%rax), %rcx
	movq	16(%rcx), %rdx
	movq	%rdx, -48(%rbp)
	movl	-40(%rbp), %edi
	movq	8(%rax), %rax
	movl	8(%rax), %esi
	callq	_memcpy
	movq	_IPW_CMD_WEP_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rcx
	movq	%r14, %rdi
	movl	$40, %edx
	callq	_ipw_send_cmd_pdu
	movq	(%r14), %rax
	movl	(%rax), %ecx
LBB0_7:
	orl	$3, %ebx
	movl	%ebx, -56(%rbp)
	testb	$8, %cl
	je	LBB0_9
## %bb.8:
	movq	16(%rax), %rcx
	movq	24(%rcx), %rdx
	movq	%rdx, -48(%rbp)
	movl	-40(%rbp), %edi
	movq	8(%rax), %rax
	movl	12(%rax), %esi
	callq	_memcpy
	movq	_IPW_CMD_WEP_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rcx
	movq	%r14, %rdi
	movl	$40, %edx
	callq	_ipw_send_cmd_pdu
LBB0_9:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DINO_CMD_WEP_KEY,4,2           ## @DINO_CMD_WEP_KEY
	.comm	_IPW_CMD_WEP_KEY,4,2            ## @IPW_CMD_WEP_KEY
	.no_dead_strip	_ipw_send_wep_keys
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipw_send_wep_keys
_ipw_send_wep_keys:                     ; @ipw_send_wep_keys
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _DINO_CMD_WEP_KEY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DINO_CMD_WEP_KEY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	str	xzr, [sp, #32]
	str	w1, [sp, #8]
	ldr	x8, [x0]
	ldr	w9, [x8]
Lloh3:
	adrp	x21, _IPW_CMD_WEP_KEY@GOTPAGE
Lloh4:
	ldr	x21, [x21, _IPW_CMD_WEP_KEY@GOTPAGEOFF]
	tbnz	w9, #0, LBB0_2
; %bb.1:
	str	xzr, [sp, #16]
	b	LBB0_3
LBB0_2:
	ldr	x9, [x8, #16]
	ldr	x2, [x9]
	str	x2, [sp, #16]
	ldr	x8, [x8, #8]
	ldr	w1, [x8]
	bl	_memcpy
	ldr	w1, [x21]
	add	x3, sp, #8
	mov	x0, x19
	mov	w2, #40
	bl	_ipw_send_cmd_pdu
	ldr	x8, [x19]
	ldr	w9, [x8]
LBB0_3:
	orr	w10, w20, #0x1
	str	w10, [sp, #8]
	tbz	w9, #1, LBB0_5
; %bb.4:
	ldr	x9, [x8, #16]
	ldr	x2, [x9, #8]
	str	x2, [sp, #16]
	ldr	w0, [sp, #24]
	ldr	x8, [x8, #8]
	ldr	w1, [x8, #4]
	bl	_memcpy
	ldr	w1, [x21]
	add	x3, sp, #8
	mov	x0, x19
	mov	w2, #40
	bl	_ipw_send_cmd_pdu
	ldr	x8, [x19]
	ldr	w9, [x8]
LBB0_5:
	orr	w10, w20, #0x2
	str	w10, [sp, #8]
	tbz	w9, #2, LBB0_7
; %bb.6:
	ldr	x9, [x8, #16]
	ldr	x2, [x9, #16]
	str	x2, [sp, #16]
	ldr	w0, [sp, #24]
	ldr	x8, [x8, #8]
	ldr	w1, [x8, #8]
	bl	_memcpy
	ldr	w1, [x21]
	add	x3, sp, #8
	mov	x0, x19
	mov	w2, #40
	bl	_ipw_send_cmd_pdu
	ldr	x8, [x19]
	ldr	w9, [x8]
LBB0_7:
	orr	w10, w20, #0x3
	str	w10, [sp, #8]
	tbz	w9, #3, LBB0_9
; %bb.8:
	ldr	x9, [x8, #16]
	ldr	x2, [x9, #24]
	str	x2, [sp, #16]
	ldr	w0, [sp, #24]
	ldr	x8, [x8, #8]
	ldr	w1, [x8, #12]
	bl	_memcpy
	ldr	w1, [x21]
	add	x3, sp, #8
	mov	x0, x19
	mov	w2, #40
	bl	_ipw_send_cmd_pdu
LBB0_9:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DINO_CMD_WEP_KEY,4,2           ; @DINO_CMD_WEP_KEY
	.comm	_IPW_CMD_WEP_KEY,4,2            ; @IPW_CMD_WEP_KEY
	.no_dead_strip	_ipw_send_wep_keys
.subsections_via_symbols
