	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cred_over_max_bss_load
_cred_over_max_bss_load:                ## @cred_over_max_bss_load
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r13d, %r13d
	cmpl	$0, (%rsi)
	je	LBB0_8
## %bb.1:
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_WLAN_EID_BSS_LOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdx, %rdi
	callq	_wpa_bss_get_ie
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%rax, %r12
	cmpl	$3, 4(%rax)
	jl	LBB0_8
## %bb.3:
	movq	(%rbx), %rax
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	(%rax), %rdx
	jmp	LBB0_6
LBB0_4:
	xorl	%edx, %edx
LBB0_6:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_interworking_home_sp_cred
	testl	%eax, %eax
	jle	LBB0_8
## %bb.7:
	movl	16(%r12), %eax
	xorl	%r13d, %r13d
	cmpl	(%r14), %eax
	setg	%r13b
LBB0_8:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_EID_BSS_LOAD,4,2          ## @WLAN_EID_BSS_LOAD
	.no_dead_strip	_cred_over_max_bss_load
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cred_over_max_bss_load
_cred_over_max_bss_load:                ; @cred_over_max_bss_load
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	w8, [x1]
	cbz	w8, LBB0_8
; %bb.1:
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _WLAN_EID_BSS_LOAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WLAN_EID_BSS_LOAD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x2
	bl	_wpa_bss_get_ie
	cbz	x0, LBB0_9
; %bb.2:
	mov	x21, x0
	ldr	w8, [x0, #4]
	cmp	w8, #3
	b.lt	LBB0_8
; %bb.3:
	ldr	x8, [x22]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x2, [x8]
	b	LBB0_6
LBB0_5:
	mov	x2, #0
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	bl	_interworking_home_sp_cred
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.7:
	ldr	w8, [x21, #16]
	ldr	w9, [x19]
	cmp	w8, w9
	cset	w0, gt
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_EID_BSS_LOAD,4,2          ; @WLAN_EID_BSS_LOAD
	.no_dead_strip	_cred_over_max_bss_load
.subsections_via_symbols
