	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_global_ctrl_iface_init ## -- Begin function hostapd_global_ctrl_iface_init
	.p2align	4, 0x90
_hostapd_global_ctrl_iface_init:        ## @hostapd_global_ctrl_iface_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	8(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	_S_IRWXU@GOTPCREL(%rip), %r12
	movq	_S_IRWXG@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	orl	(%r12), %esi
	callq	_mkdir
	testq	%rax, %rax
	js	LBB0_3
## %bb.9:
	movq	24(%r13), %rdx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.10:
	movq	8(%r13), %rdi
	movl	$-1, %r15d
	movl	$-1, %esi
	callq	_lchown
	testq	%rax, %rax
	jns	LBB0_5
## %bb.11:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_strerror
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_12
LBB0_1:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_31
LBB0_3:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_EEXIST@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_8
## %bb.4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_5:
	movq	8(%r13), %rdi
	callq	_os_strlen
	movl	%eax, %ebx
	movq	16(%r13), %rdi
	callq	_os_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%ebx, %eax
	incl	%eax
	movl	$-1, %r15d
	cmpl	$3, %eax
	ja	LBB0_31
## %bb.6:
	movq	_PF_UNIX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_socket
	movq	%rax, %rbx
	testl	%ebx, %ebx
	js	LBB0_7
## %bb.13:
	leaq	-72(%rbp), %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_os_memset
	movq	_AF_UNIX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	%r13, %rdi
	callq	_hostapd_global_ctrl_iface_path
	testq	%rax, %rax
	je	LBB0_30
## %bb.14:
	movl	-68(%rbp), %edi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	movl	$4, %edx
	callq	_os_strlcpy
	leaq	-72(%rbp), %rsi
	movl	%ebx, %edi
	movl	$12, %edx
	callq	_bind
	testq	%rax, %rax
	js	LBB0_15
LBB0_22:
	movq	24(%r13), %rdx
	testq	%rdx, %rdx
	je	LBB0_25
## %bb.23:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$-1, %esi
	callq	_lchown
	testq	%rax, %rax
	js	LBB0_24
LBB0_25:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	(%r14), %esi
	orl	(%r12), %esi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_chmod
	testq	%rax, %rax
	js	LBB0_26
## %bb.28:
	movq	%rbx, %rdi
	callq	_os_free
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%edi, (%r13)
	movq	_hostapd_global_ctrl_iface_receive@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r15d, %r15d
                                        ## kill: def $edi killed $edi killed $rdi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	callq	_eloop_register_read_sock
	jmp	LBB0_31
LBB0_8:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_strerror
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %r15d
	jmp	LBB0_31
LBB0_7:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_strerror
	leaq	L_.str.4(%rip), %rsi
LBB0_12:
	movl	%ebx, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_31
LBB0_15:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_strerror
	leaq	L_.str.5(%rip), %rsi
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	leaq	-72(%rbp), %rsi
	movl	%ebx, %edi
	movl	$12, %edx
	callq	_connect
	testq	%rax, %rax
	js	LBB0_16
## %bb.29:
	movq	_MSG_INFO@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	(%r14), %edi
	leaq	L_.str.11(%rip), %rsi
	movq	%rbx, %r14
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%rbx, %rdi
	movq	%r14, %rbx
	callq	_os_free
LBB0_30:
	movl	%ebx, %edi
	callq	_close
	jmp	LBB0_31
LBB0_26:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_strerror
	leaq	L_.str.12(%rip), %rsi
	movl	%r12d, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_27
LBB0_24:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_strerror
	leaq	L_.str.3(%rip), %rsi
LBB0_20:
	movl	%r12d, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_27
LBB0_16:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_unlink
	testq	%rax, %rax
	js	LBB0_17
## %bb.18:
	leaq	-72(%rbp), %rsi
	movl	%ebx, %edi
	movl	$12, %edx
	callq	_bind
	testq	%rax, %rax
	js	LBB0_19
## %bb.21:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_22
LBB0_17:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_strerror
	leaq	L_.str.7(%rip), %rsi
	movl	%r12d, %edi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_27:
	movl	%ebx, %edi
	callq	_close
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_unlink
	movq	%rbx, %rdi
	callq	_os_free
LBB0_31:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_strerror
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ctrl_iface not configured!"

	.comm	_S_IRWXU,4,2                    ## @S_IRWXU
	.comm	_S_IRWXG,4,2                    ## @S_IRWXG
	.comm	_errno,8,3                      ## @errno
	.comm	_EEXIST,8,3                     ## @EEXIST
L_.str.1:                               ## @.str.1
	.asciz	"Using existing control interface directory."

	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"mkdir[ctrl_interface]: %s"

L_.str.3:                               ## @.str.3
	.asciz	"lchown[ctrl_interface]: %s"

	.comm	_PF_UNIX,4,2                    ## @PF_UNIX
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
L_.str.4:                               ## @.str.4
	.asciz	"socket(PF_UNIX): %s"

	.comm	_AF_UNIX,4,2                    ## @AF_UNIX
L_.str.5:                               ## @.str.5
	.asciz	"ctrl_iface bind(PF_UNIX) failed: %s"

L_.str.6:                               ## @.str.6
	.asciz	"ctrl_iface exists, but does not allow connections - assuming it was leftover from forced program termination"

L_.str.7:                               ## @.str.7
	.asciz	"Could not unlink existing ctrl_iface socket '%s': %s"

L_.str.8:                               ## @.str.8
	.asciz	"bind(PF_UNIX): %s"

L_.str.9:                               ## @.str.9
	.asciz	"Successfully replaced leftover ctrl_iface socket '%s'"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.10:                              ## @.str.10
	.asciz	"ctrl_iface exists and seems to be in use - cannot override it"

L_.str.11:                              ## @.str.11
	.asciz	"Delete '%s' manually if it is not used anymore"

L_.str.12:                              ## @.str.12
	.asciz	"chmod[ctrl_interface/ifname]: %s"

	.comm	_hostapd_global_ctrl_iface_receive,4,2 ## @hostapd_global_ctrl_iface_receive
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_AI_PASSIVE,4,2                 ## @AI_PASSIVE
	.comm	_COOKIE_LEN,4,2                 ## @COOKIE_LEN
	.comm	_HOSTAPD_GLOBAL_CTRL_IFACE_PORT,4,2 ## @HOSTAPD_GLOBAL_CTRL_IFACE_PORT
	.comm	_HOSTAPD_GLOBAL_CTRL_IFACE_PORT_LIMIT,4,2 ## @HOSTAPD_GLOBAL_CTRL_IFACE_PORT_LIMIT
	.comm	_gcookie,4,2                    ## @gcookie
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_global_ctrl_iface_init ; -- Begin function hostapd_global_ctrl_iface_init
	.p2align	2
_hostapd_global_ctrl_iface_init:        ; @hostapd_global_ctrl_iface_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_5
; %bb.1:
Lloh0:
	adrp	x23, _S_IRWXU@GOTPAGE
Lloh1:
	ldr	x23, [x23, _S_IRWXU@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh2:
	adrp	x24, _S_IRWXG@GOTPAGE
Lloh3:
	ldr	x24, [x24, _S_IRWXG@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w1, w9, w8
	bl	_mkdir
	tbnz	x0, #63, LBB0_6
; %bb.2:
	ldr	x2, [x20, #24]
	cbz	x2, LBB0_8
; %bb.3:
	ldr	x0, [x20, #8]
	mov	w1, #-1
	bl	_lchown
	tbz	x0, #63, LBB0_8
; %bb.4:
Lloh4:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh6:
	ldr	w19, [x8]
Lloh7:
	adrp	x8, _errno@GOTPAGE
Lloh8:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh9:
	ldr	x0, [x8]
	bl	_strerror
	str	x0, [sp]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_18
LBB0_5:
Lloh12:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	w0, #0
	b	LBB0_20
LBB0_6:
Lloh17:
	adrp	x8, _errno@GOTPAGE
Lloh18:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh19:
	ldr	x0, [x8]
Lloh20:
	adrp	x8, _EEXIST@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_16
; %bb.7:
Lloh23:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str.1@PAGE
Lloh27:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
LBB0_8:
	ldr	x0, [x20, #8]
	bl	_os_strlen
	mov	x19, x0
	ldr	x0, [x20, #16]
	bl	_os_strlen
	add	w8, w19, w0
	add	w8, w8, #1
	cmp	w8, #3
	b.hi	LBB0_19
; %bb.9:
Lloh28:
	adrp	x8, _PF_UNIX@GOTPAGE
Lloh29:
	ldr	x8, [x8, _PF_UNIX@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
Lloh31:
	adrp	x8, _SOCK_DGRAM@GOTPAGE
Lloh32:
	ldr	x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_socket
	mov	x19, x0
	tbnz	w19, #31, LBB0_17
; %bb.10:
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #12
	bl	_os_memset
Lloh34:
	adrp	x8, _AF_UNIX@GOTPAGE
Lloh35:
	ldr	x8, [x8, _AF_UNIX@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	mov	x0, x20
	bl	_hostapd_global_ctrl_iface_path
	cbz	x0, LBB0_23
; %bb.11:
	mov	x21, x0
	ldr	w0, [sp, #20]
	mov	x1, x21
	mov	w2, #4
	bl	_os_strlcpy
	add	x1, sp, #16
	mov	x0, x19
	mov	w2, #12
	bl	_bind
	tbnz	x0, #63, LBB0_21
; %bb.12:
	ldr	x2, [x20, #24]
	cbz	x2, LBB0_14
LBB0_13:
	mov	x0, x21
	mov	w1, #-1
	bl	_lchown
	tbnz	x0, #63, LBB0_25
LBB0_14:
	ldr	w8, [x23]
	ldr	w9, [x24]
	orr	w1, w9, w8
	mov	x0, x21
	bl	_chmod
	tbnz	x0, #63, LBB0_24
; %bb.15:
	mov	x0, x21
	bl	_os_free
	str	w19, [x20]
Lloh37:
	adrp	x8, _hostapd_global_ctrl_iface_receive@GOTPAGE
Lloh38:
	ldr	x8, [x8, _hostapd_global_ctrl_iface_receive@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	x3, #0
	bl	_eloop_register_read_sock
	mov	w0, #0
	b	LBB0_20
LBB0_16:
Lloh40:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh41:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh42:
	ldr	w19, [x8]
	bl	_strerror
	str	x0, [sp]
Lloh43:
	adrp	x1, l_.str.2@PAGE
Lloh44:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_18
LBB0_17:
Lloh45:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh46:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh47:
	ldr	w19, [x8]
Lloh48:
	adrp	x8, _errno@GOTPAGE
Lloh49:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh50:
	ldr	x0, [x8]
	bl	_strerror
	str	x0, [sp]
Lloh51:
	adrp	x1, l_.str.4@PAGE
Lloh52:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_18:
	mov	x0, x19
	bl	_wpa_printf
LBB0_19:
	mov	w0, #-1
LBB0_20:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_21:
Lloh53:
	adrp	x26, _MSG_DEBUG@GOTPAGE
Lloh54:
	ldr	x26, [x26, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w22, [x26]
Lloh55:
	adrp	x25, _errno@GOTPAGE
Lloh56:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
	ldr	x0, [x25]
	bl	_strerror
	str	x0, [sp]
Lloh57:
	adrp	x1, l_.str.5@PAGE
Lloh58:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_wpa_printf
	add	x1, sp, #16
	mov	x0, x19
	mov	w2, #12
	bl	_connect
	tbnz	x0, #63, LBB0_26
; %bb.22:
Lloh59:
	adrp	x20, _MSG_INFO@GOTPAGE
Lloh60:
	ldr	x20, [x20, _MSG_INFO@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh61:
	adrp	x1, l_.str.10@PAGE
Lloh62:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x20]
	str	x21, [sp]
Lloh63:
	adrp	x1, l_.str.11@PAGE
Lloh64:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_wpa_printf
	mov	x0, x21
	bl	_os_free
LBB0_23:
	mov	x0, x19
	bl	_close
	b	LBB0_19
LBB0_24:
Lloh65:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh66:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh67:
	ldr	w20, [x8]
Lloh68:
	adrp	x8, _errno@GOTPAGE
Lloh69:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh70:
	ldr	x0, [x8]
	bl	_strerror
	str	x0, [sp]
Lloh71:
	adrp	x1, l_.str.12@PAGE
Lloh72:
	add	x1, x1, l_.str.12@PAGEOFF
	b	LBB0_31
LBB0_25:
Lloh73:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh74:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh75:
	ldr	w20, [x8]
Lloh76:
	adrp	x8, _errno@GOTPAGE
Lloh77:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh78:
	ldr	x0, [x8]
	bl	_strerror
	str	x0, [sp]
Lloh79:
	adrp	x1, l_.str.3@PAGE
Lloh80:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_31
LBB0_26:
	ldr	w0, [x26]
Lloh81:
	adrp	x1, l_.str.6@PAGE
Lloh82:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_wpa_printf
	mov	x0, x21
	bl	_unlink
	tbnz	x0, #63, LBB0_29
; %bb.27:
	add	x1, sp, #16
	mov	x0, x19
	mov	w2, #12
	bl	_bind
	tbnz	x0, #63, LBB0_30
; %bb.28:
	ldr	w0, [x26]
	str	x21, [sp]
Lloh83:
	adrp	x1, l_.str.9@PAGE
Lloh84:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_wpa_printf
	ldr	x2, [x20, #24]
	cbnz	x2, LBB0_13
	b	LBB0_14
LBB0_29:
Lloh85:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh86:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh87:
	ldr	w20, [x8]
	ldr	x0, [x25]
	bl	_strerror
	stp	x21, x0, [sp]
Lloh88:
	adrp	x1, l_.str.7@PAGE
Lloh89:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_31
LBB0_30:
Lloh90:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh91:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh92:
	ldr	w20, [x8]
	ldr	x0, [x25]
	bl	_strerror
	str	x0, [sp]
Lloh93:
	adrp	x1, l_.str.8@PAGE
Lloh94:
	add	x1, x1, l_.str.8@PAGEOFF
LBB0_31:
	mov	x0, x20
	bl	_wpa_printf
	mov	x0, x19
	bl	_close
	mov	x0, x21
	bl	_unlink
	mov	x0, x21
	bl	_os_free
	b	LBB0_19
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ctrl_iface not configured!"

	.comm	_S_IRWXU,4,2                    ; @S_IRWXU
	.comm	_S_IRWXG,4,2                    ; @S_IRWXG
	.comm	_errno,8,3                      ; @errno
	.comm	_EEXIST,8,3                     ; @EEXIST
l_.str.1:                               ; @.str.1
	.asciz	"Using existing control interface directory."

	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"mkdir[ctrl_interface]: %s"

l_.str.3:                               ; @.str.3
	.asciz	"lchown[ctrl_interface]: %s"

	.comm	_PF_UNIX,4,2                    ; @PF_UNIX
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
l_.str.4:                               ; @.str.4
	.asciz	"socket(PF_UNIX): %s"

	.comm	_AF_UNIX,4,2                    ; @AF_UNIX
l_.str.5:                               ; @.str.5
	.asciz	"ctrl_iface bind(PF_UNIX) failed: %s"

l_.str.6:                               ; @.str.6
	.asciz	"ctrl_iface exists, but does not allow connections - assuming it was leftover from forced program termination"

l_.str.7:                               ; @.str.7
	.asciz	"Could not unlink existing ctrl_iface socket '%s': %s"

l_.str.8:                               ; @.str.8
	.asciz	"bind(PF_UNIX): %s"

l_.str.9:                               ; @.str.9
	.asciz	"Successfully replaced leftover ctrl_iface socket '%s'"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.10:                              ; @.str.10
	.asciz	"ctrl_iface exists and seems to be in use - cannot override it"

l_.str.11:                              ; @.str.11
	.asciz	"Delete '%s' manually if it is not used anymore"

l_.str.12:                              ; @.str.12
	.asciz	"chmod[ctrl_interface/ifname]: %s"

	.comm	_hostapd_global_ctrl_iface_receive,4,2 ; @hostapd_global_ctrl_iface_receive
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_AI_PASSIVE,4,2                 ; @AI_PASSIVE
	.comm	_COOKIE_LEN,4,2                 ; @COOKIE_LEN
	.comm	_HOSTAPD_GLOBAL_CTRL_IFACE_PORT,4,2 ; @HOSTAPD_GLOBAL_CTRL_IFACE_PORT
	.comm	_HOSTAPD_GLOBAL_CTRL_IFACE_PORT_LIMIT,4,2 ; @HOSTAPD_GLOBAL_CTRL_IFACE_PORT_LIMIT
	.comm	_gcookie,4,2                    ; @gcookie
.subsections_via_symbols
