	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function interworking_credentials_available_roaming_consortium
_interworking_credentials_available_roaming_consortium: ## @interworking_credentials_available_roaming_consortium
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	_WLAN_EID_ROAMING_CONSORTIUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_wpa_bss_get_ie
	movq	%rax, %r13
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rax), %r14
	testq	%r13, %r13
	je	LBB0_3
	jmp	LBB0_5
LBB0_2:
	xorl	%r14d, %r14d
	testq	%r13, %r13
	jne	LBB0_5
LBB0_3:
	testq	%r14, %r14
	je	LBB0_29
LBB0_5:
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rax
	movq	(%rax), %r12
	testq	%r12, %r12
	je	LBB0_29
## %bb.6:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_9
LBB0_29:
	xorl	%r15d, %r15d
	jmp	LBB0_30
LBB0_7:                                 ##   in Loop: Header=BB0_9 Depth=1
	testq	%r15, %r15
	sete	%al
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	setne	%cl
	testb	%al, %cl
	cmovneq	%r12, %r15
	movl	$1, %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmovnel	%eax, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	movq	24(%r12), %r12
	testq	%r12, %r12
	je	LBB0_27
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$0, 20(%r12)
	je	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	16(%r12), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_roaming_consortium_match
	testl	%eax, %eax
	jne	LBB0_15
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	cmpq	$0, 8(%r12)
	je	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$0, 20(%r12)
	je	LBB0_8
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_cred_roaming_consortiums_match
	testl	%eax, %eax
	je	LBB0_8
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_cred_no_required_oi_match
	testq	%rax, %rax
	jne	LBB0_8
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_22
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_cred_excluded_ssid
	testq	%rax, %rax
	jne	LBB0_7
## %bb.18:                              ##   in Loop: Header=BB0_9 Depth=1
	testq	%r15, %r15
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_cred_prio_cmp
	xorl	%ecx, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jns	LBB0_8
LBB0_21:                                ##   in Loop: Header=BB0_9 Depth=1
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %r15
	jmp	LBB0_8
LBB0_22:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_cred_below_min_backhaul
	testq	%rax, %rax
	jne	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_cred_over_max_bss_load
	testq	%rax, %rax
	je	LBB0_26
LBB0_23:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_26:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_cred_conn_capab_missing
	testq	%rax, %rax
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_8
	jmp	LBB0_17
LBB0_27:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_30
## %bb.28:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, (%rax)
LBB0_30:
	movq	%r15, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_EID_ROAMING_CONSORTIUM,4,2 ## @WLAN_EID_ROAMING_CONSORTIUM
	.no_dead_strip	_interworking_credentials_available_roaming_consortium
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function interworking_credentials_available_roaming_consortium
_interworking_credentials_available_roaming_consortium: ; @interworking_credentials_available_roaming_consortium
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _WLAN_EID_ROAMING_CONSORTIUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WLAN_EID_ROAMING_CONSORTIUM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_wpa_bss_get_ie
	mov	x23, x0
	ldr	x8, [x21]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x24, [x8]
	b	LBB0_3
LBB0_2:
	mov	x24, #0
LBB0_3:
	cmp	x23, #0
	ccmp	x24, #0, #0, eq
	b.eq	LBB0_6
; %bb.4:
	ldr	x8, [x22]
	ldr	x25, [x8]
	cbz	x25, LBB0_6
; %bb.5:
	mov	w27, #0
	mov	x26, #0
	b	LBB0_9
LBB0_6:
	mov	x26, #0
	b	LBB0_28
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	cmp	x26, #0
	cset	w8, eq
	cmp	x19, #0
	cset	w9, ne
	tst	w9, w8
	csel	x26, x25, x26, ne
	csinc	w27, w27, wzr, eq
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x25, [x25, #24]
	cbz	x25, LBB0_26
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x3, [x25]
	cbz	x3, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x25, #20]
	cbz	w8, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w2, [x25, #16]
	mov	x0, x23
	mov	x1, x24
	bl	_roaming_consortium_match
	cbnz	w0, LBB0_15
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x25, #8]
	cbz	x8, LBB0_8
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x25, #20]
	cbz	w8, LBB0_8
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x23
	mov	x1, x24
	mov	x2, x25
	bl	_cred_roaming_consortiums_match
	cbz	w0, LBB0_8
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x25
	mov	x1, x21
	bl	_cred_no_required_oi_match
	cbnz	x0, LBB0_8
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=1
	cbz	w20, LBB0_22
LBB0_17:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x25
	mov	x1, x21
	bl	_cred_excluded_ssid
	cbnz	x0, LBB0_7
; %bb.18:                               ;   in Loop: Header=BB0_9 Depth=1
	cbz	x26, LBB0_25
; %bb.19:                               ;   in Loop: Header=BB0_9 Depth=1
	cbnz	w27, LBB0_25
; %bb.20:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x26
	mov	x1, x25
	bl	_cred_prio_cmp
	tbnz	x0, #63, LBB0_25
; %bb.21:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	w27, #0
	b	LBB0_8
LBB0_22:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x22
	mov	x1, x25
	mov	x2, x21
	bl	_cred_below_min_backhaul
	cbnz	x0, LBB0_8
; %bb.23:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x22
	mov	x1, x25
	mov	x2, x21
	bl	_cred_over_max_bss_load
	cbnz	x0, LBB0_8
; %bb.24:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x22
	mov	x1, x25
	mov	x2, x21
	bl	_cred_conn_capab_missing
	cbnz	x0, LBB0_8
	b	LBB0_17
LBB0_25:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	w27, #0
	mov	x26, x25
	b	LBB0_8
LBB0_26:
	cbz	x19, LBB0_28
; %bb.27:
	str	w27, [x19]
LBB0_28:
	mov	x0, x26
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_EID_ROAMING_CONSORTIUM,4,2 ; @WLAN_EID_ROAMING_CONSORTIUM
	.no_dead_strip	_interworking_credentials_available_roaming_consortium
.subsections_via_symbols
