	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prism54_set_spy
_prism54_set_spy:                       ## @prism54_set_spy
	.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
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r13
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_OID_INL_CONFIG@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movl	%eax, -48(%rbp)
	movq	%rbx, %rdi
	callq	_down_write
	movl	(%r14), %esi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_mgt_get
	cmpq	$0, (%r12)
	je	LBB0_1
## %bb.3:
	jle	LBB0_6
## %bb.4:
	cmpq	$0, 8(%rbx)
	jne	LBB0_6
## %bb.5:
	movq	_INL_CONFIG_RXANNEX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -44(%rbp)
	jmp	LBB0_6
LBB0_1:
	cmpq	$0, 8(%rbx)
	jle	LBB0_6
## %bb.2:
	movq	_INL_CONFIG_RXANNEX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, -44(%rbp)
LBB0_6:
	movl	(%r14), %esi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_mgt_set
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_mgt_commit_list
	movq	%rbx, %rdi
	callq	_up_write
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_iw_handler_set_spy
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OID_INL_CONFIG,4,2             ## @OID_INL_CONFIG
	.comm	_INL_CONFIG_RXANNEX,4,2         ## @INL_CONFIG_RXANNEX
	.no_dead_strip	_prism54_set_spy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prism54_set_spy
_prism54_set_spy:                       ; @prism54_set_spy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_netdev_priv
	mov	x23, x0
Lloh0:
	adrp	x24, _OID_INL_CONFIG@GOTPAGE
Lloh1:
	ldr	x24, [x24, _OID_INL_CONFIG@GOTPAGEOFF]
	ldr	w8, [x24]
	str	w8, [sp, #8]
	bl	_down_write
	ldr	w1, [x24]
	add	x2, sp, #12
	mov	x0, x23
	bl	_mgt_get
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.1:
	cmp	x8, #1
	b.lt	LBB0_7
; %bb.2:
	ldr	x8, [x23, #8]
	cbnz	x8, LBB0_7
; %bb.3:
Lloh2:
	adrp	x8, _INL_CONFIG_RXANNEX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _INL_CONFIG_RXANNEX@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w8, w9, w8
	b	LBB0_6
LBB0_4:
	ldr	x8, [x23, #8]
	cmp	x8, #1
	b.lt	LBB0_7
; %bb.5:
Lloh5:
	adrp	x8, _INL_CONFIG_RXANNEX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _INL_CONFIG_RXANNEX@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w8, w9, w8
LBB0_6:
	str	w8, [sp, #12]
LBB0_7:
	ldr	w1, [x24]
	add	x2, sp, #12
	mov	x0, x23
	bl	_mgt_set
	add	x1, sp, #8
	mov	x0, x23
	mov	w2, #1
	bl	_mgt_commit_list
	mov	x0, x23
	bl	_up_write
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_iw_handler_set_spy
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_OID_INL_CONFIG,4,2             ; @OID_INL_CONFIG
	.comm	_INL_CONFIG_RXANNEX,4,2         ; @INL_CONFIG_RXANNEX
	.no_dead_strip	_prism54_set_spy
.subsections_via_symbols
