	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_if_add                 ## -- Begin function hostapd_if_add
	.p2align	4, 0x90
_hostapd_if_add:                        ## @hostapd_if_add
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	40(%rbp), %r10d
	movl	(%rdi), %edi
	subq	$8, %rsp
	pushq	$1
	pushq	%r10
	pushq	32(%rbp)
	pushq	24(%rbp)
	pushq	16(%rbp)
	callq	*%rax
	addq	$48, %rsp
	popq	%rbp
	retq
LBB0_3:
	movl	$-1, %eax
	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	_hostapd_if_add                 ; -- Begin function hostapd_if_add
	.p2align	2
_hostapd_if_add:                        ; @hostapd_if_add
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w9, [x29, #24]
	ldr	x10, [x29, #16]
	ldr	w0, [x0]
	mov	w11, #1
	stp	w9, w11, [sp, #8]
	str	x10, [sp]
	blr	x8
	b	LBB0_4
LBB0_3:
	mov	w0, #-1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
