	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_supplicant_assoc_try
_wpa_supplicant_assoc_try:              ## @wpa_supplicant_assoc_try
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_wpas_network_disabled
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_wpas_temp_disabled
	cmpl	%r15d, %eax
	movl	%r15d, %ecx
	cmovll	%eax, %ecx
	testl	%r15d, %r15d
	cmovel	%eax, %ecx
	movl	%ecx, %r15d
	testl	%eax, %eax
	jg	LBB0_5
## %bb.7:
	cmpq	$0, (%rbx)
	movq	%rbx, %rax
	jne	LBB0_9
## %bb.8:
	movq	_WILDCARD_SSID_SCAN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_9:
	movq	%rax, (%r14)
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_supplicant_associate       ## TAILCALL
LBB0_1:
	xorl	%r15d, %r15d
LBB0_6:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_wpa_dbg
	movq	_WILDCARD_SSID_SCAN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	%r14, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_supplicant_req_scan        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wpa_supplicant_assoc_try: Reached end of scan list - go back to beginning"

	.comm	_WILDCARD_SSID_SCAN,8,3         ## @WILDCARD_SSID_SCAN
	.no_dead_strip	_wpa_supplicant_assoc_try
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_supplicant_assoc_try
_wpa_supplicant_assoc_try:              ; @wpa_supplicant_assoc_try
	.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
	mov	x19, x0
	cbz	x1, LBB0_6
; %bb.1:
	mov	x21, x1
	mov	w20, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x21, [x21]
	cbz	x21, LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_wpas_network_disabled
	cbnz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_wpas_temp_disabled
	cmp	w0, w20
	ccmp	w20, #0, #4, ge
	csel	w20, w0, w20, eq
	cmp	w0, #1
	b.ge	LBB0_2
; %bb.5:
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _WILDCARD_SSID_SCAN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WILDCARD_SSID_SCAN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, #0
	csel	x8, x9, x21, eq
	str	x8, [x19]
	mov	x0, x19
	mov	x1, #0
	mov	x2, x21
	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
	b	_wpa_supplicant_associate
LBB0_6:
	mov	w20, #0
LBB0_7:
Lloh3:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_wpa_dbg
Lloh8:
	adrp	x8, _WILDCARD_SSID_SCAN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WILDCARD_SSID_SCAN@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x19]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	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
	b	_wpa_supplicant_req_scan
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wpa_supplicant_assoc_try: Reached end of scan list - go back to beginning"

	.comm	_WILDCARD_SSID_SCAN,8,3         ; @WILDCARD_SSID_SCAN
	.no_dead_strip	_wpa_supplicant_assoc_try
.subsections_via_symbols
