	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostapd_interface_init
_hostapd_interface_init:                ## @hostapd_interface_init
	.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
	movl	%ecx, %r14d
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_hostapd_init
	testq	%rax, %rax
	je	LBB0_19
## %bb.1:
	movq	%rax, %r15
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	testq	%r13, %r13
	je	LBB0_3
## %bb.2:
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	movq	%r13, %rsi
	movl	$8, %edx
	callq	_os_strlcpy
LBB0_3:
	movq	%r12, 16(%r15)
	testl	%r14d, %r14d
	jle	LBB0_16
## %bb.4:
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %r8
	movq	(%r8), %rbx
	leal	-1(%r14), %eax
	movl	%r14d, %ecx
	andl	$3, %ecx
	cmpl	$3, %eax
	jae	LBB0_5
LBB0_12:
	testl	%ecx, %ecx
	jne	LBB0_13
LBB0_16:
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	cmpb	$0, (%rax)
	jne	LBB0_20
## %bb.17:
	movq	(%r15), %rax
	movq	(%rax), %rdi
	callq	_hostapd_drv_none
	testl	%eax, %eax
	jne	LBB0_20
## %bb.18:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_wpa_printf
	movq	%r15, %rdi
	callq	_hostapd_interface_deinit_free
LBB0_19:
	xorl	%r15d, %r15d
LBB0_20:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	decl	%ecx
	je	LBB0_16
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	jle	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	decq	%rbx
	movq	%rbx, (%r8)
	jmp	LBB0_15
LBB0_5:
	andl	$-4, %r14d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, (%r8)
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	addl	$-4, %r14d
	je	LBB0_12
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdx
	leaq	-1(%rbx), %rsi
	testq	%rbx, %rbx
	cmovleq	%rbx, %rsi
	leaq	-1(%rsi), %rdi
	testq	%rsi, %rsi
	cmovleq	%rsi, %rdi
	leaq	-1(%rdi), %rax
	testq	%rdi, %rdi
	cmovleq	%rdi, %rax
	leaq	-1(%rax), %rbx
	testq	%rax, %rax
	cmovleq	%rax, %rbx
	testq	%rdx, %rdx
	jg	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	testq	%rsi, %rsi
	jg	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	testq	%rdi, %rdi
	jg	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	testq	%rax, %rax
	jle	LBB0_11
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Configuration file: %s"

L_.str.1:                               ## @.str.1
	.asciz	"Interface name not specified in %s, nor by '-i' parameter"

	.no_dead_strip	_hostapd_interface_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostapd_interface_init
_hostapd_interface_init:                ; @hostapd_interface_init
	.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	x21, x3
	mov	x19, x2
	mov	x23, x1
	mov	x22, x0
Lloh0:
	adrp	x24, _MSG_ERROR@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MSG_ERROR@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	x0, x22
	mov	x1, x19
	bl	_hostapd_init
	mov	x20, x0
	cbz	x0, LBB0_11
; %bb.1:
	cbz	x23, LBB0_3
; %bb.2:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x0, [x8]
	mov	x1, x23
	mov	w2, #8
	bl	_os_strlcpy
LBB0_3:
	str	x22, [x20, #16]
	cmp	w21, #1
	b.lt	LBB0_8
; %bb.4:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x9, [x8]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	subs	w21, w21, #1
	b.eq	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	subs	x10, x9, #1
	b.lt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	str	x10, [x8]
	mov	x9, x10
	b	LBB0_5
LBB0_8:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldrb	w8, [x8]
	cbnz	w8, LBB0_11
; %bb.9:
	ldr	x8, [x20]
	ldr	x0, [x8]
	bl	_hostapd_drv_none
	cbnz	w0, LBB0_11
; %bb.10:
	ldr	w0, [x24]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_wpa_printf
	mov	x0, x20
	bl	_hostapd_interface_deinit_free
	mov	x20, #0
LBB0_11:
	mov	x0, x20
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Configuration file: %s"

l_.str.1:                               ; @.str.1
	.asciz	"Interface name not specified in %s, nor by '-i' parameter"

	.no_dead_strip	_hostapd_interface_init
.subsections_via_symbols
