	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcms_c_set_shortslot_override ## -- Begin function brcms_c_set_shortslot_override
	.p2align	4, 0x90
_brcms_c_set_shortslot_override:        ## @brcms_c_set_shortslot_override
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, (%rdi)
	movq	24(%rdi), %rax
	movq	(%rax), %rax
	movq	_BRCM_BAND_5G@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.1:
	movq	16(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.2:
	cmpq	$0, 8(%rax)
	je	LBB0_3
LBB0_7:
	popq	%rbp
	retq
LBB0_4:
	movq	_BRCMS_SHORTSLOT_AUTO@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_6
## %bb.5:
	movl	$0, 8(%rdi)
	popq	%rbp
	retq
LBB0_3:
	xorl	%esi, %esi
	popq	%rbp
	jmp	_brcms_c_switch_shortslot       ## TAILCALL
LBB0_6:
	movq	_BRCMS_SHORTSLOT_ON@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpq	%rsi, (%rax)
	sete	%cl
	movl	%ecx, 8(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BRCM_BAND_5G,8,3               ## @BRCM_BAND_5G
	.comm	_BRCMS_SHORTSLOT_AUTO,8,3       ## @BRCMS_SHORTSLOT_AUTO
	.comm	_BRCMS_SHORTSLOT_ON,8,3         ## @BRCMS_SHORTSLOT_ON
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcms_c_set_shortslot_override ; -- Begin function brcms_c_set_shortslot_override
	.p2align	2
_brcms_c_set_shortslot_override:        ; @brcms_c_set_shortslot_override
	.cfi_startproc
; %bb.0:
	str	x1, [x0]
	ldr	x8, [x0, #24]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _BRCM_BAND_5G@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BRCM_BAND_5G@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x0, #16]
	ldr	x9, [x8]
	cbz	x9, LBB0_4
; %bb.2:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_6
LBB0_3:
	ret
LBB0_4:
Lloh3:
	adrp	x8, _BRCMS_SHORTSLOT_AUTO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BRCMS_SHORTSLOT_AUTO@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_7
; %bb.5:
	str	wzr, [x0, #8]
	ret
LBB0_6:
	mov	w1, #0
	b	_brcms_c_switch_shortslot
LBB0_7:
Lloh6:
	adrp	x8, _BRCMS_SHORTSLOT_ON@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BRCMS_SHORTSLOT_ON@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x1
	cset	w8, eq
	str	w8, [x0, #8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BRCM_BAND_5G,8,3               ; @BRCM_BAND_5G
	.comm	_BRCMS_SHORTSLOT_AUTO,8,3       ; @BRCMS_SHORTSLOT_AUTO
	.comm	_BRCMS_SHORTSLOT_ON,8,3         ; @BRCMS_SHORTSLOT_ON
.subsections_via_symbols
