	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_buf_add_service_hash       ## -- Begin function p2p_buf_add_service_hash
	.p2align	4, 0x90
_p2p_buf_add_service_hash:              ## @p2p_buf_add_service_hash
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	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	%rsi, %rbx
	movq	%rdi, %r14
	movq	_P2P_ATTR_SERVICE_HASH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wpabuf_put_u8
	movq	_P2PS_HASH_LEN@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	imull	(%rbx), %esi
	movq	%r14, %rdi
	callq	_wpabuf_put_le16
	movl	4(%rbx), %esi
	movl	(%r15), %edx
	imull	(%rbx), %edx
	movq	%r14, %rdi
	callq	_wpabuf_put_data
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %edx
	movl	(%r15), %ecx
	imull	(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_hexdump                    ## TAILCALL
LBB0_1:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P2P_ATTR_SERVICE_HASH,4,2      ## @P2P_ATTR_SERVICE_HASH
	.comm	_P2PS_HASH_LEN,4,2              ## @P2PS_HASH_LEN
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"P2P: * Service Hash"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_buf_add_service_hash       ; -- Begin function p2p_buf_add_service_hash
	.p2align	2
_p2p_buf_add_service_hash:              ; @p2p_buf_add_service_hash
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_2
; %bb.1:
	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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _P2P_ATTR_SERVICE_HASH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _P2P_ATTR_SERVICE_HASH@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_wpabuf_put_u8
	ldr	w8, [x19]
Lloh3:
	adrp	x21, _P2PS_HASH_LEN@GOTPAGE
Lloh4:
	ldr	x21, [x21, _P2PS_HASH_LEN@GOTPAGEOFF]
	ldr	w9, [x21]
	mul	w1, w9, w8
	mov	x0, x20
	bl	_wpabuf_put_le16
	ldp	w8, w1, [x19]
	ldr	w9, [x21]
	mul	w2, w9, w8
	mov	x0, x20
	bl	_wpabuf_put_data
Lloh5:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	w8, w2, [x19]
	ldr	w9, [x21]
	mul	w3, w9, w8
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	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_hexdump
LBB0_2:
	.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
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_P2P_ATTR_SERVICE_HASH,4,2      ; @P2P_ATTR_SERVICE_HASH
	.comm	_P2PS_HASH_LEN,4,2              ; @P2PS_HASH_LEN
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"P2P: * Service Hash"

.subsections_via_symbols
