	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcms_c_switch_shortslot
_brcms_c_switch_shortslot:              ## @brcms_c_switch_shortslot
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movq	(%rdi), %rcx
	movq	_BRCMS_SHORTSLOT_ON@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	cmpq	(%rdx), %rcx
	movq	_BRCMS_SHORTSLOT_AUTO@GOTPCREL(%rip), %rdx
	sete	%sil
	cmpq	(%rdx), %rcx
	cmovel	%eax, %esi
	cmpl	%esi, 8(%rdi)
	jne	LBB0_2
## %bb.1:
	popq	%rbp
	retq
LBB0_2:
	movl	%esi, 8(%rdi)
	movl	12(%rdi), %edi
	popq	%rbp
	jmp	_brcms_b_set_shortslot          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BRCMS_SHORTSLOT_AUTO,8,3       ## @BRCMS_SHORTSLOT_AUTO
	.comm	_BRCMS_SHORTSLOT_ON,8,3         ## @BRCMS_SHORTSLOT_ON
	.no_dead_strip	_brcms_c_switch_shortslot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcms_c_switch_shortslot
_brcms_c_switch_shortslot:              ; @brcms_c_switch_shortslot
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BRCMS_SHORTSLOT_AUTO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BRCMS_SHORTSLOT_AUTO@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _BRCMS_SHORTSLOT_ON@GOTPAGE
Lloh4:
	ldr	x10, [x10, _BRCMS_SHORTSLOT_ON@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x10
	cset	w10, eq
	cmp	x8, x9
	csel	w1, w1, w10, eq
	ldr	w8, [x0, #8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	ret
LBB0_2:
	str	w1, [x0, #8]
	ldr	w0, [x0, #12]
	b	_brcms_b_set_shortslot
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BRCMS_SHORTSLOT_AUTO,8,3       ; @BRCMS_SHORTSLOT_AUTO
	.comm	_BRCMS_SHORTSLOT_ON,8,3         ; @BRCMS_SHORTSLOT_ON
	.no_dead_strip	_brcms_c_switch_shortslot
.subsections_via_symbols
