	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_bss_anqp_unshare_alloc     ## -- Begin function wpa_bss_anqp_unshare_alloc
	.p2align	4, 0x90
_wpa_bss_anqp_unshare_alloc:            ## @wpa_bss_anqp_unshare_alloc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	cmpl	$2, (%rdi)
	jl	LBB0_6
## %bb.2:
	callq	_wpa_bss_anqp_clone
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	$1, (%rax)
	movq	(%rbx), %rcx
	decl	(%rcx)
	movq	%rax, (%rbx)
	jmp	LBB0_6
LBB0_5:
	xorl	%eax, %eax
	callq	_wpa_bss_anqp_alloc
	movq	%rax, (%rbx)
	cmpq	$1, %rax
	sbbl	%r14d, %r14d
	jmp	LBB0_6
LBB0_3:
	movl	$-1, %r14d
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_bss_anqp_unshare_alloc     ; -- Begin function wpa_bss_anqp_unshare_alloc
	.p2align	2
_wpa_bss_anqp_unshare_alloc:            ; @wpa_bss_anqp_unshare_alloc
	.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	x19, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w8, [x0]
	cmp	w8, #2
	b.lt	LBB0_5
; %bb.2:
	bl	_wpa_bss_anqp_clone
	cbz	x0, LBB0_6
; %bb.3:
	mov	x8, x0
	mov	w0, #0
	mov	w9, #1
	str	w9, [x8]
	ldr	x9, [x19]
	ldr	w10, [x9]
	sub	w10, w10, #1
	str	w10, [x9]
	str	x8, [x19]
	b	LBB0_7
LBB0_4:
	bl	_wpa_bss_anqp_alloc
	str	x0, [x19]
	cmp	x0, #0
	csetm	w0, eq
	b	LBB0_7
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
