	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p2p_build_gas_comeback_resp
_p2p_build_gas_comeback_resp:           ## @p2p_build_gas_comeback_resp
	.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
	movq	%r9, %r13
	movq	%r8, %r12
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	16(%rbp), %rcx
	leal	100(%r8), %r9d
	movq	%r13, %rdx
	xorl	%r8d, %r8d
	callq	_gas_anqp_build_comeback_resp
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	testq	%r13, %r13
	jne	LBB0_3
## %bb.2:
	movq	24(%rbp), %r13
	movq	_ANQP_VENDOR_SPECIFIC@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_wpabuf_put_le16
	addq	$6, %r13
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_wpabuf_put_le16
	movq	_P2P_IE_VENDOR_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_wpabuf_put_be32
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_wpabuf_put_le16
LBB0_3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_wpabuf_put_data
	movq	%rbx, %rdi
	callq	_gas_anqp_set_len
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ANQP_VENDOR_SPECIFIC,8,3       ## @ANQP_VENDOR_SPECIFIC
	.comm	_P2P_IE_VENDOR_TYPE,4,2         ## @P2P_IE_VENDOR_TYPE
	.no_dead_strip	_p2p_build_gas_comeback_resp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p2p_build_gas_comeback_resp
_p2p_build_gas_comeback_resp:           ; @p2p_build_gas_comeback_resp
	.cfi_startproc
; %bb.0:
	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
	mov	x23, x7
	mov	x24, x5
	mov	x19, x4
	mov	x20, x3
	mov	x22, x2
	add	w5, w19, #100
	mov	x2, x24
	mov	x3, x6
	mov	w4, #0
	bl	_gas_anqp_build_comeback_resp
	mov	x21, x0
	cbz	x0, LBB0_4
; %bb.1:
	cbnz	x24, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _ANQP_VENDOR_SPECIFIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ANQP_VENDOR_SPECIFIC@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	mov	x0, x21
	bl	_wpabuf_put_le16
	add	x1, x23, #6
	mov	x0, x21
	bl	_wpabuf_put_le16
Lloh3:
	adrp	x8, _P2P_IE_VENDOR_TYPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _P2P_IE_VENDOR_TYPE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_wpabuf_put_be32
	mov	x0, x21
	mov	x1, x22
	bl	_wpabuf_put_le16
LBB0_3:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_wpabuf_put_data
	mov	x0, x21
	bl	_gas_anqp_set_len
LBB0_4:
	mov	x0, x21
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ANQP_VENDOR_SPECIFIC,8,3       ; @ANQP_VENDOR_SPECIFIC
	.comm	_P2P_IE_VENDOR_TYPE,4,2         ; @P2P_IE_VENDOR_TYPE
	.no_dead_strip	_p2p_build_gas_comeback_resp
.subsections_via_symbols
