	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpas_global_ctrl_iface_open_sock
_wpas_global_ctrl_iface_open_sock:      ## @wpas_global_ctrl_iface_open_sock
	.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	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %r13
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_PF_UNIX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_socket
	movl	%eax, (%r14)
	testl	%eax, %eax
	js	LBB0_1
## %bb.4:
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_os_memset
	movq	_AF_UNIX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	movl	$10, %edx
	callq	_os_strncmp
	movq	-56(%rbp), %rdi
	testq	%rax, %rax
	je	LBB0_5
## %bb.9:
	movq	%r13, %rsi
	movl	$8, %edx
	callq	_os_strlcpy
	movl	(%r14), %edi
	leaq	-64(%rbp), %rsi
	movl	$24, %edx
	callq	_bind
	testq	%rax, %rax
	js	LBB0_10
LBB0_17:
	movl	(%r12), %edi
	leaq	L_.str.12(%rip), %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	8(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_29
## %bb.18:
	movq	%rbx, %rdi
	callq	_getgrnam
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	(%rax), %rax
	movl	(%r12), %edi
	movq	%rax, %r12
	leaq	L_.str.13(%rip), %rsi
	movl	%r12d, %edx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_25:
	movq	%r13, %rdi
	movl	$-1, %esi
	movq	%r12, %rdx
	callq	_lchown
	testq	%rax, %rax
	js	LBB0_26
## %bb.27:
	movq	_S_IRWXU@GOTPCREL(%rip), %rax
	movq	_S_IRWXG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r13, %rdi
	callq	_chmod
	testq	%rax, %rax
	jns	LBB0_31
## %bb.28:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.17(%rip), %rsi
	jmp	LBB0_7
LBB0_1:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_2
LBB0_5:
	movb	$0, (%rdi)
	movq	-56(%rbp), %rdi
	incq	%rdi
	leaq	10(%r13), %rbx
	movq	%rbx, %rsi
	movl	$7, %edx
	callq	_os_strlcpy
	movl	(%r14), %edi
	leaq	-64(%rbp), %rsi
	movl	$24, %edx
	callq	_bind
	testq	%rax, %rax
	js	LBB0_6
## %bb.8:
	movl	(%r12), %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_31
LBB0_10:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.5(%rip), %rsi
	movl	%ebx, %edi
	movq	%r13, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	(%r14), %edi
	leaq	-64(%rbp), %rsi
	movl	$24, %edx
	callq	_connect
	testq	%rax, %rax
	js	LBB0_11
## %bb.15:
	movq	_MSG_INFO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	(%rbx), %edi
	leaq	L_.str.11(%rip), %rsi
	movq	%r13, %rdx
	jmp	LBB0_23
LBB0_29:
	movq	_S_IRWXU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_chmod
	testq	%rax, %rax
	jns	LBB0_31
## %bb.30:
	movl	(%r12), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.18(%rip), %rsi
	movl	%ebx, %edi
	movq	%r13, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_31:
	movl	(%r14), %edi
	movq	_F_GETFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_fcntl
	testl	%eax, %eax
	js	LBB0_34
## %bb.32:
	movq	_O_NONBLOCK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r14), %edi
	movq	_F_SETFL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_fcntl
	testq	%rax, %rax
	jns	LBB0_34
## %bb.33:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.19(%rip), %rsi
	movl	%r12d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_34:
	movl	(%r14), %edi
	movq	_wpa_supplicant_global_ctrl_iface_receive@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_eloop_register_read_sock
	jmp	LBB0_35
LBB0_6:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.3(%rip), %rsi
LBB0_7:
	movl	%ebx, %edi
	movq	%r13, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_2
LBB0_20:
	leaq	-72(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$10, %edx
	callq	_strtol
	cmpb	$0, (%rbx)
	je	LBB0_22
## %bb.21:
	movq	-72(%rbp), %rcx
	cmpb	$0, (%rcx)
	je	LBB0_24
LBB0_22:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.14(%rip), %rsi
	movq	%rbx, %rdx
LBB0_23:
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_2
LBB0_11:
	movl	(%r12), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	%r13, %rdi
	callq	_unlink
	testq	%rax, %rax
	js	LBB0_12
## %bb.13:
	movl	(%r14), %edi
	leaq	-64(%rbp), %rsi
	movl	$24, %edx
	callq	_bind
	testq	%rax, %rax
	js	LBB0_14
## %bb.16:
	movl	(%r12), %edi
	leaq	L_.str.9(%rip), %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_17
LBB0_26:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.16(%rip), %rsi
	movl	%ebx, %edi
	movq	%r13, %rdx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_2:
	movl	(%r14), %edi
	movl	$-1, %ebx
	testl	%edi, %edi
	js	LBB0_35
## %bb.3:
	callq	_close
	movl	$-1, (%r14)
LBB0_35:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_7
LBB0_24:
	movl	(%r12), %edi
	leaq	L_.str.15(%rip), %rsi
	movq	%rax, %r12
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_25
LBB0_14:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Global control interface '%s'"

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

	.comm	_errno,4,2                      ## @errno
	.comm	_AF_UNIX,4,2                    ## @AF_UNIX
L_.str.2:                               ## @.str.2
	.asciz	"@abstract:"

L_.str.3:                               ## @.str.3
	.asciz	"supp-global-ctrl-iface-init: bind(PF_UNIX;%s) failed: %s"

L_.str.4:                               ## @.str.4
	.asciz	"Using Abstract control socket '%s'"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.5:                               ## @.str.5
	.asciz	"supp-global-ctrl-iface-init(%s) (will try fixup): bind(PF_UNIX): %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	"supp-glb-iface-init: bind(PF_UNIX;%s): %s"

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

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	"Using UNIX control socket '%s'"

L_.str.13:                              ## @.str.13
	.asciz	"ctrl_interface_group=%d (from group name '%s')"

L_.str.14:                              ## @.str.14
	.asciz	"CTRL: Invalid group '%s'"

L_.str.15:                              ## @.str.15
	.asciz	"ctrl_interface_group=%d"

L_.str.16:                              ## @.str.16
	.asciz	"lchown[global_ctrl_interface=%s,gid=%d]: %s"

	.comm	_S_IRWXU,4,2                    ## @S_IRWXU
	.comm	_S_IRWXG,4,2                    ## @S_IRWXG
L_.str.17:                              ## @.str.17
	.asciz	"chmod[global_ctrl_interface=%s]: %s"

L_.str.18:                              ## @.str.18
	.asciz	"chmod[global_ctrl_interface=%s](S_IRWXU): %s"

	.comm	_F_GETFL,4,2                    ## @F_GETFL
	.comm	_O_NONBLOCK,4,2                 ## @O_NONBLOCK
	.comm	_F_SETFL,4,2                    ## @F_SETFL
L_.str.19:                              ## @.str.19
	.asciz	"fcntl(ctrl, O_NONBLOCK): %s"

	.comm	_wpa_supplicant_global_ctrl_iface_receive,4,2 ## @wpa_supplicant_global_ctrl_iface_receive
	.no_dead_strip	_wpas_global_ctrl_iface_open_sock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpas_global_ctrl_iface_open_sock
_wpas_global_ctrl_iface_open_sock:      ; @wpas_global_ctrl_iface_open_sock
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x1
	mov	x21, x0
	ldr	x20, [x0]
Lloh0:
	adrp	x24, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x24]
	str	x20, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
Lloh4:
	adrp	x8, _PF_UNIX@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PF_UNIX@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x8, _SOCK_DGRAM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_socket
	str	w0, [x19]
	tbnz	w0, #31, LBB0_9
; %bb.1:
	add	x0, sp, #40
	mov	w1, #0
	mov	w2, #24
	bl	_os_memset
Lloh10:
	adrp	x8, _AF_UNIX@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AF_UNIX@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [sp, #56]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	w2, #10
	bl	_os_strncmp
	mov	x8, x0
	ldr	x0, [sp, #48]
	cbz	x8, LBB0_12
; %bb.2:
	mov	x1, x20
	mov	w2, #8
	bl	_os_strlcpy
	ldr	w0, [x19]
	add	x1, sp, #40
	mov	w2, #24
	bl	_bind
	tbnz	x0, #63, LBB0_14
LBB0_3:
	ldr	w0, [x24]
	str	x20, [sp]
Lloh15:
	adrp	x1, l_.str.12@PAGE
Lloh16:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_wpa_printf
	ldr	x23, [x21, #8]
	cbz	x23, LBB0_16
; %bb.4:
	mov	x0, x23
	bl	_getgrnam
	cbz	x0, LBB0_25
; %bb.5:
	ldr	x22, [x0]
	ldr	w0, [x24]
	stp	x22, x23, [sp]
Lloh17:
	adrp	x1, l_.str.13@PAGE
Lloh18:
	add	x1, x1, l_.str.13@PAGEOFF
LBB0_6:
	bl	_wpa_printf
	mov	x0, x20
	mov	w1, #-1
	mov	x2, x22
	bl	_lchown
	tbnz	x0, #63, LBB0_31
; %bb.7:
Lloh19:
	adrp	x8, _S_IRWXU@GOTPAGE
Lloh20:
	ldr	x8, [x8, _S_IRWXU@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _S_IRWXG@GOTPAGE
Lloh23:
	ldr	x9, [x9, _S_IRWXG@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x20
	bl	_chmod
	tbz	x0, #63, LBB0_19
; %bb.8:
Lloh25:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh27:
	ldr	w21, [x8]
Lloh28:
	adrp	x8, _errno@GOTPAGE
Lloh29:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp]
Lloh31:
	adrp	x1, l_.str.17@PAGE
Lloh32:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x21
	b	LBB0_10
LBB0_9:
Lloh33:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh35:
	ldr	w20, [x8]
Lloh36:
	adrp	x8, _errno@GOTPAGE
Lloh37:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh39:
	adrp	x1, l_.str.1@PAGE
Lloh40:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
LBB0_10:
	bl	_wpa_printf
	ldr	w0, [x19]
	mov	w20, #-1
	tbnz	w0, #31, LBB0_23
; %bb.11:
	bl	_close
	str	w20, [x19]
	b	LBB0_23
LBB0_12:
	strb	wzr, [x0]
	ldr	x8, [sp, #48]
	add	x0, x8, #1
	add	x22, x20, #10
	mov	x1, x22
	mov	w2, #7
	bl	_os_strlcpy
	ldr	w0, [x19]
	add	x1, sp, #40
	mov	w2, #24
	bl	_bind
	tbnz	x0, #63, LBB0_24
; %bb.13:
	ldr	w0, [x24]
	str	x22, [sp]
Lloh41:
	adrp	x1, l_.str.4@PAGE
Lloh42:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_18
LBB0_14:
Lloh43:
	adrp	x25, _MSG_INFO@GOTPAGE
Lloh44:
	ldr	x25, [x25, _MSG_INFO@GOTPAGEOFF]
	ldr	w22, [x25]
Lloh45:
	adrp	x23, _errno@GOTPAGE
Lloh46:
	ldr	x23, [x23, _errno@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp]
Lloh47:
	adrp	x1, l_.str.5@PAGE
Lloh48:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_wpa_printf
	ldr	w0, [x19]
	add	x1, sp, #40
	mov	w2, #24
	bl	_connect
	tbnz	x0, #63, LBB0_28
; %bb.15:
	ldr	w0, [x25]
Lloh49:
	adrp	x1, l_.str.10@PAGE
Lloh50:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x25]
	str	x20, [sp]
Lloh51:
	adrp	x1, l_.str.11@PAGE
Lloh52:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_10
LBB0_16:
Lloh53:
	adrp	x8, _S_IRWXU@GOTPAGE
Lloh54:
	ldr	x8, [x8, _S_IRWXU@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_chmod
	tbz	x0, #63, LBB0_19
; %bb.17:
	ldr	w22, [x24]
Lloh56:
	adrp	x8, _errno@GOTPAGE
Lloh57:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh58:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp]
Lloh59:
	adrp	x1, l_.str.18@PAGE
Lloh60:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x0, x22
LBB0_18:
	bl	_wpa_printf
LBB0_19:
	ldr	w0, [x19]
Lloh61:
	adrp	x8, _F_GETFL@GOTPAGE
Lloh62:
	ldr	x8, [x8, _F_GETFL@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	bl	_fcntl
	tbnz	w0, #31, LBB0_22
; %bb.20:
Lloh64:
	adrp	x8, _O_NONBLOCK@GOTPAGE
Lloh65:
	ldr	x8, [x8, _O_NONBLOCK@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	orr	w8, w8, w0
	ldr	w0, [x19]
Lloh67:
	adrp	x9, _F_SETFL@GOTPAGE
Lloh68:
	ldr	x9, [x9, _F_SETFL@GOTPAGEOFF]
Lloh69:
	ldr	w1, [x9]
	str	x8, [sp]
	bl	_fcntl
	tbz	x0, #63, LBB0_22
; %bb.21:
Lloh70:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh71:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh72:
	ldr	w20, [x8]
Lloh73:
	adrp	x8, _errno@GOTPAGE
Lloh74:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh75:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh76:
	adrp	x1, l_.str.19@PAGE
Lloh77:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	x0, x20
	bl	_wpa_printf
LBB0_22:
	ldr	w0, [x19]
Lloh78:
	adrp	x8, _wpa_supplicant_global_ctrl_iface_receive@GOTPAGE
Lloh79:
	ldr	x8, [x8, _wpa_supplicant_global_ctrl_iface_receive@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
	mov	x2, x21
	mov	x3, x19
	bl	_eloop_register_read_sock
	mov	w20, #0
LBB0_23:
	mov	x0, x20
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_24:
Lloh81:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh82:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh83:
	ldr	w21, [x8]
Lloh84:
	adrp	x8, _errno@GOTPAGE
Lloh85:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh86:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp]
Lloh87:
	adrp	x1, l_.str.3@PAGE
Lloh88:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	b	LBB0_10
LBB0_25:
	add	x1, sp, #32
	mov	x0, x23
	mov	w2, #10
	bl	_strtol
	ldrb	w8, [x23]
	cbz	w8, LBB0_27
; %bb.26:
	ldr	x8, [sp, #32]
	ldrb	w8, [x8]
	cbz	w8, LBB0_33
LBB0_27:
Lloh89:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh90:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh91:
	ldr	w0, [x8]
	str	x23, [sp]
Lloh92:
	adrp	x1, l_.str.14@PAGE
Lloh93:
	add	x1, x1, l_.str.14@PAGEOFF
	b	LBB0_10
LBB0_28:
	ldr	w0, [x24]
Lloh94:
	adrp	x1, l_.str.6@PAGE
Lloh95:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_wpa_printf
	mov	x0, x20
	bl	_unlink
	tbnz	x0, #63, LBB0_32
; %bb.29:
	ldr	w0, [x19]
	add	x1, sp, #40
	mov	w2, #24
	bl	_bind
	tbnz	x0, #63, LBB0_34
; %bb.30:
	ldr	w0, [x24]
	str	x20, [sp]
Lloh96:
	adrp	x1, l_.str.9@PAGE
Lloh97:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_wpa_printf
	b	LBB0_3
LBB0_31:
Lloh98:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh99:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh100:
	ldr	w21, [x8]
Lloh101:
	adrp	x8, _errno@GOTPAGE
Lloh102:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh103:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x0, [sp, #8]
	str	x20, [sp]
Lloh104:
	adrp	x1, l_.str.16@PAGE
Lloh105:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x21
	b	LBB0_10
LBB0_32:
Lloh106:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh107:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh108:
	ldr	w21, [x8]
	ldr	w0, [x23]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp]
Lloh109:
	adrp	x1, l_.str.7@PAGE
Lloh110:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x21
	b	LBB0_10
LBB0_33:
	mov	x22, x0
	ldr	w0, [x24]
	str	x22, [sp]
Lloh111:
	adrp	x1, l_.str.15@PAGE
Lloh112:
	add	x1, x1, l_.str.15@PAGEOFF
	b	LBB0_6
LBB0_34:
Lloh113:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh114:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh115:
	ldr	w21, [x8]
	ldr	w0, [x23]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp]
Lloh116:
	adrp	x1, l_.str.8@PAGE
Lloh117:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpAdd	Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpAdd	Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpAdd	Lloh111, Lloh112
	.loh AdrpAdd	Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Global control interface '%s'"

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

	.comm	_errno,4,2                      ; @errno
	.comm	_AF_UNIX,4,2                    ; @AF_UNIX
l_.str.2:                               ; @.str.2
	.asciz	"@abstract:"

l_.str.3:                               ; @.str.3
	.asciz	"supp-global-ctrl-iface-init: bind(PF_UNIX;%s) failed: %s"

l_.str.4:                               ; @.str.4
	.asciz	"Using Abstract control socket '%s'"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.5:                               ; @.str.5
	.asciz	"supp-global-ctrl-iface-init(%s) (will try fixup): bind(PF_UNIX): %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	"supp-glb-iface-init: bind(PF_UNIX;%s): %s"

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

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	"Using UNIX control socket '%s'"

l_.str.13:                              ; @.str.13
	.asciz	"ctrl_interface_group=%d (from group name '%s')"

l_.str.14:                              ; @.str.14
	.asciz	"CTRL: Invalid group '%s'"

l_.str.15:                              ; @.str.15
	.asciz	"ctrl_interface_group=%d"

l_.str.16:                              ; @.str.16
	.asciz	"lchown[global_ctrl_interface=%s,gid=%d]: %s"

	.comm	_S_IRWXU,4,2                    ; @S_IRWXU
	.comm	_S_IRWXG,4,2                    ; @S_IRWXG
l_.str.17:                              ; @.str.17
	.asciz	"chmod[global_ctrl_interface=%s]: %s"

l_.str.18:                              ; @.str.18
	.asciz	"chmod[global_ctrl_interface=%s](S_IRWXU): %s"

	.comm	_F_GETFL,4,2                    ; @F_GETFL
	.comm	_O_NONBLOCK,4,2                 ; @O_NONBLOCK
	.comm	_F_SETFL,4,2                    ; @F_SETFL
l_.str.19:                              ; @.str.19
	.asciz	"fcntl(ctrl, O_NONBLOCK): %s"

	.comm	_wpa_supplicant_global_ctrl_iface_receive,4,2 ; @wpa_supplicant_global_ctrl_iface_receive
	.no_dead_strip	_wpas_global_ctrl_iface_open_sock
.subsections_via_symbols
