	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prism54_set_prismhdr
_prism54_set_prismhdr:                  ## @prism54_set_prismhdr
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	callq	_netdev_priv
	cmpq	$0, (%rbx)
	jne	LBB0_1
## %bb.2:
	movq	_ARPHRD_IEEE80211@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_ARPHRD_IEEE80211_PRISM@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	(%rax), %rdx
	movq	_IW_MODE_MONITOR@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_5
## %bb.4:
	movq	16(%rax), %rax
	movl	%ecx, (%rax)
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARPHRD_IEEE80211_PRISM,4,2     ## @ARPHRD_IEEE80211_PRISM
	.comm	_ARPHRD_IEEE80211,4,2           ## @ARPHRD_IEEE80211
	.comm	_IW_MODE_MONITOR,8,3            ## @IW_MODE_MONITOR
	.no_dead_strip	_prism54_set_prismhdr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prism54_set_prismhdr
_prism54_set_prismhdr:                  ; @prism54_set_prismhdr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	bl	_netdev_priv
Lloh0:
	adrp	x8, _ARPHRD_IEEE80211_PRISM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARPHRD_IEEE80211_PRISM@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh2:
	adrp	x10, _ARPHRD_IEEE80211@GOTPAGE
Lloh3:
	ldr	x10, [x10, _ARPHRD_IEEE80211@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w8, [x8]
	str	w8, [x0, #8]
	ldr	x9, [x0]
Lloh4:
	adrp	x10, _IW_MODE_MONITOR@GOTPAGE
Lloh5:
	ldr	x10, [x10, _IW_MODE_MONITOR@GOTPAGEOFF]
Lloh6:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	ldr	x9, [x0, #16]
	str	w8, [x9]
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ARPHRD_IEEE80211_PRISM,4,2     ; @ARPHRD_IEEE80211_PRISM
	.comm	_ARPHRD_IEEE80211,4,2           ; @ARPHRD_IEEE80211
	.comm	_IW_MODE_MONITOR,8,3            ; @IW_MODE_MONITOR
	.no_dead_strip	_prism54_set_prismhdr
.subsections_via_symbols
