	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_c_set_joinpref_default   ## -- Begin function brcmf_c_set_joinpref_default
	.p2align	4, 0x90
_brcmf_c_set_joinpref_default:          ## @brcmf_c_set_joinpref_default
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	(%rdi), %rbx
	movq	_BRCMF_JOIN_PREF_RSSI_DELTA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movl	$2, -80(%rbp)
	movq	_BRCMF_JOIN_PREF_RSSI_BOOST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movq	_WLC_BAND_5G@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)
	movq	_BRCMF_JOIN_PREF_RSSI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movl	$2, -48(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -40(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-80(%rbp), %rdx
	movl	$64, %ecx
	callq	_brcmf_fil_iovar_data_set
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_bphy_err
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$72, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BRCMF_JOIN_PREF_RSSI_DELTA,4,2 ## @BRCMF_JOIN_PREF_RSSI_DELTA
	.comm	_BRCMF_JOIN_PREF_RSSI_BOOST,8,3 ## @BRCMF_JOIN_PREF_RSSI_BOOST
	.comm	_WLC_BAND_5G,8,3                ## @WLC_BAND_5G
	.comm	_BRCMF_JOIN_PREF_RSSI,4,2       ## @BRCMF_JOIN_PREF_RSSI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"join_pref"

L_.str.1:                               ## @.str.1
	.asciz	"Set join_pref error (%d)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_c_set_joinpref_default   ; -- Begin function brcmf_c_set_joinpref_default
	.p2align	2
_brcmf_c_set_joinpref_default:          ; @brcmf_c_set_joinpref_default
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	ldr	x19, [x0]
Lloh3:
	adrp	x8, _BRCMF_JOIN_PREF_RSSI_DELTA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BRCMF_JOIN_PREF_RSSI_DELTA@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _BRCMF_JOIN_PREF_RSSI_BOOST@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BRCMF_JOIN_PREF_RSSI_BOOST@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _WLC_BAND_5G@GOTPAGE
Lloh10:
	ldr	x10, [x10, _WLC_BAND_5G@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	stp	x10, x9, [sp, #16]
Lloh12:
	adrp	x9, _BRCMF_JOIN_PREF_RSSI@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BRCMF_JOIN_PREF_RSSI@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	str	w9, [sp, #64]
	mov	w9, #2
	str	w9, [sp, #8]
	str	w8, [sp, #32]
	str	w9, [sp, #40]
	stp	xzr, xzr, [sp, #48]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	w3, #64
	bl	_brcmf_fil_iovar_data_set
	cbz	w0, LBB0_2
; %bb.1:
	mov	x2, x0
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_bphy_err
LBB0_2:
	ldur	x8, [x29, #-24]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_BRCMF_JOIN_PREF_RSSI_DELTA,4,2 ; @BRCMF_JOIN_PREF_RSSI_DELTA
	.comm	_BRCMF_JOIN_PREF_RSSI_BOOST,8,3 ; @BRCMF_JOIN_PREF_RSSI_BOOST
	.comm	_WLC_BAND_5G,8,3                ; @WLC_BAND_5G
	.comm	_BRCMF_JOIN_PREF_RSSI,4,2       ; @BRCMF_JOIN_PREF_RSSI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"join_pref"

l_.str.1:                               ; @.str.1
	.asciz	"Set join_pref error (%d)\n"

.subsections_via_symbols
