	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_neighbor_set           ## -- Begin function hostapd_neighbor_set
	.p2align	4, 0x90
_hostapd_neighbor_set:                  ## @hostapd_neighbor_set
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %r15
	callq	_hostapd_neighbor_get
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_hostapd_neighbor_add
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_12
LBB0_2:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_hostapd_neighbor_clear_entry
	movq	48(%rbx), %rdi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rsi
	callq	_os_memcpy
	leaq	40(%rbx), %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_os_memcpy
	movq	%r12, %rdi
	callq	_wpabuf_dup
	movq	%rax, 32(%rbx)
	testq	%rax, %rax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_11
## %bb.3:
	testq	%r15, %r15
	je	LBB0_7
## %bb.4:
	movq	%r15, %rdi
	callq	_wpabuf_len
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%r15, %rdi
	callq	_wpabuf_dup
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	leaq	16(%rbx), %rdi
	callq	_os_get_time
	testq	%rax, %rax
	jne	LBB0_11
LBB0_7:
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_10
## %bb.8:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_wpabuf_len
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_wpabuf_dup
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_11
LBB0_10:
	movl	16(%rbp), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_11:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_hostapd_neighbor_remove
LBB0_12:
	movl	$-1, %eax
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_neighbor_set           ; -- Begin function hostapd_neighbor_set
	.p2align	2
_hostapd_neighbor_set:                  ; @hostapd_neighbor_set
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x6
	mov	x23, x5
	mov	x25, x4
	mov	x26, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_hostapd_neighbor_get
	mov	x24, x0
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_hostapd_neighbor_add
	mov	x24, x0
	cbz	x0, LBB0_12
LBB0_2:
	mov	x0, x24
	bl	_hostapd_neighbor_clear_entry
	ldr	x0, [x24, #48]
Lloh0:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x21
	bl	_os_memcpy
	add	x0, x24, #40
	mov	x1, x20
	mov	w2, #4
	bl	_os_memcpy
	mov	x0, x26
	bl	_wpabuf_dup
	str	x0, [x24, #32]
	cbz	x0, LBB0_11
; %bb.3:
	cbz	x25, LBB0_7
; %bb.4:
	mov	x0, x25
	bl	_wpabuf_len
	cbz	x0, LBB0_7
; %bb.5:
	mov	x0, x25
	bl	_wpabuf_dup
	str	x0, [x24, #24]
	cbz	x0, LBB0_11
; %bb.6:
	add	x0, x24, #16
	bl	_os_get_time
	cbnz	x0, LBB0_11
LBB0_7:
	cbz	x23, LBB0_10
; %bb.8:
	mov	x0, x23
	bl	_wpabuf_len
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x23
	bl	_wpabuf_dup
	str	x0, [x24, #8]
	cbz	x0, LBB0_11
LBB0_10:
	mov	w0, #0
	str	w19, [x24]
	b	LBB0_13
LBB0_11:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_hostapd_neighbor_remove
LBB0_12:
	mov	w0, #-1
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
.subsections_via_symbols
