	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hs20_put_anqp_req              ## -- Begin function hs20_put_anqp_req
	.p2align	4, 0x90
_hs20_put_anqp_req:                     ## @hs20_put_anqp_req
	.cfi_startproc
## %bb.0:
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.1:
	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
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, %r13
	movl	%edi, %r14d
	movq	_ANQP_VENDOR_SPECIFIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rcx, %rdi
	callq	_gas_anqp_add_element
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_OUI_WFA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_wpabuf_put_be24
	movq	_HS20_ANQP_OUI_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_wpabuf_put_u8
	movq	_HS20_STYPE_NAI_HOME_REALM_QUERY@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_BIT
	cmpl	%r14d, %eax
	je	LBB0_2
## %bb.4:
	movq	_HS20_STYPE_ICON_REQUEST@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_BIT
	cmpl	%r14d, %eax
	jne	LBB0_5
LBB0_2:
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_wpabuf_put_u8
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_wpabuf_put_u8
	testq	%r13, %r13
	je	LBB0_9
## %bb.3:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_wpabuf_put_data
LBB0_9:
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_gas_anqp_set_element_len
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gas_anqp_set_len               ## TAILCALL
LBB0_10:
	retq
LBB0_5:
	movq	_HS20_STYPE_QUERY_LIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_wpabuf_put_u8
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_wpabuf_put_u8
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	incl	%ebx
	cmpl	$32, %ebx
	je	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_BIT
	testl	%r14d, %eax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_wpabuf_put_u8
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_ANQP_VENDOR_SPECIFIC,4,2       ## @ANQP_VENDOR_SPECIFIC
	.comm	_OUI_WFA,4,2                    ## @OUI_WFA
	.comm	_HS20_ANQP_OUI_TYPE,4,2         ## @HS20_ANQP_OUI_TYPE
	.comm	_HS20_STYPE_NAI_HOME_REALM_QUERY,4,2 ## @HS20_STYPE_NAI_HOME_REALM_QUERY
	.comm	_HS20_STYPE_ICON_REQUEST,4,2    ## @HS20_STYPE_ICON_REQUEST
	.comm	_HS20_STYPE_QUERY_LIST,4,2      ## @HS20_STYPE_QUERY_LIST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hs20_put_anqp_req              ; -- Begin function hs20_put_anqp_req
	.p2align	2
_hs20_put_anqp_req:                     ; @hs20_put_anqp_req
	.cfi_startproc
; %bb.0:
	cbz	x3, LBB0_6
; %bb.1:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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_remember_state
	mov	x19, x3
	mov	x22, x2
	mov	x23, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _ANQP_VENDOR_SPECIFIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ANQP_VENDOR_SPECIFIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x3
	bl	_gas_anqp_add_element
	mov	x20, x0
Lloh3:
	adrp	x8, _OUI_WFA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OUI_WFA@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wpabuf_put_be24
Lloh6:
	adrp	x8, _HS20_ANQP_OUI_TYPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HS20_ANQP_OUI_TYPE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wpabuf_put_u8
Lloh9:
	adrp	x24, _HS20_STYPE_NAI_HOME_REALM_QUERY@GOTPAGE
Lloh10:
	ldr	x24, [x24, _HS20_STYPE_NAI_HOME_REALM_QUERY@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_BIT
	cmp	w0, w21
	b.eq	LBB0_3
; %bb.2:
Lloh11:
	adrp	x24, _HS20_STYPE_ICON_REQUEST@GOTPAGE
Lloh12:
	ldr	x24, [x24, _HS20_STYPE_ICON_REQUEST@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_BIT
	cmp	w0, w21
	b.ne	LBB0_7
LBB0_3:
	ldr	w1, [x24]
	mov	x0, x19
	bl	_wpabuf_put_u8
	mov	x0, x19
	mov	w1, #0
	bl	_wpabuf_put_u8
	cbz	x23, LBB0_5
; %bb.4:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	bl	_wpabuf_put_data
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	bl	_gas_anqp_set_element_len
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_gas_anqp_set_len
LBB0_6:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	ret
LBB0_7:
	.cfi_restore_state
Lloh13:
	adrp	x8, _HS20_STYPE_QUERY_LIST@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HS20_STYPE_QUERY_LIST@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_wpabuf_put_u8
	mov	x0, x19
	mov	w1, #0
	bl	_wpabuf_put_u8
	mov	w22, #0
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	w22, w22, #1
	cmp	w22, #32
	b.eq	LBB0_5
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_BIT
	tst	w0, w21
	b.eq	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_wpabuf_put_u8
	b	LBB0_8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ANQP_VENDOR_SPECIFIC,4,2       ; @ANQP_VENDOR_SPECIFIC
	.comm	_OUI_WFA,4,2                    ; @OUI_WFA
	.comm	_HS20_ANQP_OUI_TYPE,4,2         ; @HS20_ANQP_OUI_TYPE
	.comm	_HS20_STYPE_NAI_HOME_REALM_QUERY,4,2 ; @HS20_STYPE_NAI_HOME_REALM_QUERY
	.comm	_HS20_STYPE_ICON_REQUEST,4,2    ; @HS20_STYPE_ICON_REQUEST
	.comm	_HS20_STYPE_QUERY_LIST,4,2      ; @HS20_STYPE_QUERY_LIST
.subsections_via_symbols
