	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_attr_interfmode_show
_b43_attr_interfmode_show:              ## @b43_attr_interfmode_show
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	callq	_dev_to_b43_wldev
	movq	%rax, %r15
	movq	_CAP_NET_ADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_capable
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	(%r15), %rdi
	callq	_mutex_lock
	movq	8(%r15), %rax
	movq	_B43_PHYTYPE_G@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.5:
	movq	16(%r15), %rax
	movl	(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_10
## %bb.6:
	cmpl	$130, %eax
	je	LBB0_11
## %bb.7:
	cmpl	$129, %eax
	jne	LBB0_12
## %bb.8:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_9
LBB0_1:
	movq	_EPERM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	(%r15), %rdi
	callq	_mutex_unlock
	movq	_ENOSYS@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_14
LBB0_10:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_9
LBB0_11:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
LBB0_9:
	movq	%r14, %rdi
	callq	_snprintf
	movl	%eax, %ebx
	jmp	LBB0_13
LBB0_12:
	movl	$1, %edi
	callq	_B43_WARN_ON
	xorl	%ebx, %ebx
LBB0_13:
	movq	(%r15), %rdi
	callq	_mutex_unlock
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CAP_NET_ADMIN,4,2              ## @CAP_NET_ADMIN
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_B43_PHYTYPE_G,8,3              ## @B43_PHYTYPE_G
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0 (No Interference Mitigation)\n"

L_.str.1:                               ## @.str.1
	.asciz	"1 (Non-WLAN Interference Mitigation)\n"

L_.str.2:                               ## @.str.2
	.asciz	"2 (WLAN Interference Mitigation)\n"

	.no_dead_strip	_b43_attr_interfmode_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_attr_interfmode_show
_b43_attr_interfmode_show:              ; @b43_attr_interfmode_show
	.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	x20, x2
	bl	_dev_to_b43_wldev
	mov	x19, x0
Lloh0:
	adrp	x8, _CAP_NET_ADMIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CAP_NET_ADMIN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_capable
	cbz	w0, LBB0_6
; %bb.1:
	ldr	x0, [x19]
	bl	_mutex_lock
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _B43_PHYTYPE_G@GOTPAGE
Lloh4:
	ldr	x9, [x9, _B43_PHYTYPE_G@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.2:
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
	cmp	w8, #128
	b.eq	LBB0_9
; %bb.3:
	cmp	w8, #130
	b.eq	LBB0_10
; %bb.4:
	cmp	w8, #129
	b.ne	LBB0_12
; %bb.5:
Lloh6:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_11
LBB0_6:
Lloh11:
	adrp	x8, _EPERM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
	ldr	x0, [x19]
	bl	_mutex_unlock
Lloh13:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_14
LBB0_9:
Lloh15:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x2, l_.str.1@PAGE
Lloh19:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh20:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x2, l_.str.2@PAGE
Lloh24:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_11:
	mov	x0, x20
	bl	_snprintf
	mov	x20, x0
	b	LBB0_13
LBB0_12:
	mov	w0, #1
	bl	_B43_WARN_ON
	mov	w20, #0
LBB0_13:
	ldr	x0, [x19]
	bl	_mutex_unlock
LBB0_14:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_CAP_NET_ADMIN,4,2              ; @CAP_NET_ADMIN
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_B43_PHYTYPE_G,8,3              ; @B43_PHYTYPE_G
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0 (No Interference Mitigation)\n"

l_.str.1:                               ; @.str.1
	.asciz	"1 (Non-WLAN Interference Mitigation)\n"

l_.str.2:                               ; @.str.2
	.asciz	"2 (WLAN Interference Mitigation)\n"

	.no_dead_strip	_b43_attr_interfmode_show
.subsections_via_symbols
