	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_hs20_network                ## -- Begin function is_hs20_network
	.p2align	4, 0x90
_is_hs20_network:                       ## @is_hs20_network
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.1:
	movq	(%rdi), %rax
	cmpl	$0, (%rax)
	je	LBB0_9
## %bb.2:
	movq	%rsi, %rbx
	movl	$1, %eax
	cmpq	$0, 16(%rsi)
	jne	LBB0_10
## %bb.3:
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.4:
	movq	_HS20_IE_VENDOR_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdx, %rdi
	callq	_wpa_bss_get_vendor_ie
	testl	%eax, %eax
	je	LBB0_9
LBB0_5:
	movq	_WPA_KEY_MGMT_IEEE8021X@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_9
## %bb.6:
	movq	_WPA_CIPHER_CCMP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$0, %eax
	testl	%ecx, 4(%rbx)
	je	LBB0_10
## %bb.7:
	movq	8(%rbx), %rcx
	movq	_WPA_PROTO_RSN@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	sete	%al
	jmp	LBB0_10
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HS20_IE_VENDOR_TYPE,4,2        ## @HS20_IE_VENDOR_TYPE
	.comm	_WPA_KEY_MGMT_IEEE8021X,4,2     ## @WPA_KEY_MGMT_IEEE8021X
	.comm	_WPA_CIPHER_CCMP,4,2            ## @WPA_CIPHER_CCMP
	.comm	_WPA_PROTO_RSN,8,3              ## @WPA_PROTO_RSN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_hs20_network                ; -- Begin function is_hs20_network
	.p2align	2
_is_hs20_network:                       ; @is_hs20_network
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x0
	mov	w0, #0
	cbz	x1, LBB0_10
; %bb.1:
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_10
; %bb.2:
	mov	x19, x1
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_4
; %bb.3:
	mov	w0, #1
	b	LBB0_10
LBB0_4:
	cbz	x2, LBB0_6
; %bb.5:
Lloh0:
	adrp	x8, _HS20_IE_VENDOR_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HS20_IE_VENDOR_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x2
	bl	_wpa_bss_get_vendor_ie
	cbz	w0, LBB0_10
LBB0_6:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _WPA_KEY_MGMT_IEEE8021X@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WPA_KEY_MGMT_IEEE8021X@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.7:
	ldr	w8, [x19, #4]
Lloh6:
	adrp	x9, _WPA_CIPHER_CCMP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WPA_CIPHER_CCMP@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	ldr	x8, [x19, #8]
Lloh9:
	adrp	x9, _WPA_PROTO_RSN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _WPA_PROTO_RSN@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_HS20_IE_VENDOR_TYPE,4,2        ; @HS20_IE_VENDOR_TYPE
	.comm	_WPA_KEY_MGMT_IEEE8021X,4,2     ; @WPA_KEY_MGMT_IEEE8021X
	.comm	_WPA_CIPHER_CCMP,4,2            ; @WPA_CIPHER_CCMP
	.comm	_WPA_PROTO_RSN,8,3              ; @WPA_PROTO_RSN
.subsections_via_symbols
