	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_supplicant_ctrl_iface_send
_wpa_supplicant_ctrl_iface_send:        ## @wpa_supplicant_ctrl_iface_send
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -152(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%edx, -124(%rbp)                ## 4-byte Spill
	testl	%edx, %edx
	js	LBB0_14
## %bb.1:
	movq	%rcx, %r12
	movq	(%rcx), %rbx
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.2:
	movl	%r8d, %r15d
	movq	%rsi, %rcx
	movq	16(%rbp), %r13
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdx
	leaq	-112(%rbp), %rdi
	movl	$64, %esi
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_os_snprintf
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rdx
	leaq	-112(%rbp), %rdi
	movl	$64, %esi
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_os_snprintf
LBB0_5:
	leaq	-112(%rbp), %rdi
	callq	_os_strlen
	movl	%eax, %r14d
	leal	(%r14,%r13), %edi
	movl	%edi, -120(%rbp)                ## 4-byte Spill
	callq	_os_malloc
	testq	%rax, %rax
	je	LBB0_14
## %bb.6:
	movq	%r13, %rcx
	movq	%rax, %r13
	movq	%r12, -144(%rbp)                ## 8-byte Spill
	movslq	%r14d, %r14
	leaq	-112(%rbp), %rsi
	movq	%rax, %rdi
	movq	%rcx, %r12
	movq	%r14, %rdx
	callq	_os_memcpy
	movq	%r13, -136(%rbp)                ## 8-byte Spill
	addq	%r14, %r13
	movq	%r13, %rdi
	movq	-152(%rbp), %rsi                ## 8-byte Reload
	movq	%r12, %rdx
	callq	_os_memcpy
	movl	%r15d, -116(%rbp)               ## 4-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	$0, 4(%r13)
	movl	-116(%rbp), %r15d               ## 4-byte Reload
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	testq	%rbx, %rbx
	je	LBB0_13
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r13
	movq	32(%rbx), %rbx
	cmpl	%r15d, (%r13)
	jg	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	12(%r13), %r14
	movl	16(%r13), %edi
	callq	_inet_ntoa
	movl	%eax, %r12d
	movl	12(%r13), %edi
	callq	_ntohs
	movl	%r15d, %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%r12d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	-124(%rbp), %edi                ## 4-byte Reload
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	movl	-120(%rbp), %edx                ## 4-byte Reload
	xorl	%ecx, %ecx
	movq	%r14, %r8
	movl	$16, %r9d
	callq	_sendto
	testq	%rax, %rax
	jns	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movl	%r15d, %edi
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	4(%r13), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 4(%r13)
	cmpl	$10, %eax
	movl	-116(%rbp), %r15d               ## 4-byte Reload
	jl	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	8(%r13), %edx
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	movq	%r14, %rsi
	callq	_wpa_supplicant_ctrl_iface_detach
	jmp	LBB0_12
LBB0_13:
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	callq	_os_free
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IFACE=%s <%d>"

L_.str.1:                               ## @.str.1
	.asciz	"<%d>"

	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.2:                               ## @.str.2
	.asciz	"CTRL_IFACE monitor send %s:%d"

	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
L_.str.3:                               ## @.str.3
	.asciz	"sendto(CTRL_IFACE monitor): %s"

	.comm	_errno,4,2                      ## @errno
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_INET6_ADDRSTRLEN,4,2           ## @INET6_ADDRSTRLEN
	.no_dead_strip	_wpa_supplicant_ctrl_iface_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_supplicant_ctrl_iface_send
_wpa_supplicant_ctrl_iface_send:        ; @wpa_supplicant_ctrl_iface_send
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #88]
	tbnz	w2, #31, LBB0_14
; %bb.1:
	mov	x25, x3
	ldr	x20, [x3]
	cbz	x20, LBB0_14
; %bb.2:
	mov	x24, x6
	mov	x27, x5
	mov	x19, x4
	mov	x21, x2
	cbz	x1, LBB0_4
; %bb.3:
	stp	x1, x19, [sp]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
	mov	x8, x19
	str	x8, [sp]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_5:
	add	x0, sp, #24
	mov	w1, #64
	bl	_os_snprintf
	add	x0, sp, #24
	bl	_os_strlen
	mov	x26, x0
	add	w22, w0, w24
	mov	x0, x22
	bl	_os_malloc
	cbz	x0, LBB0_14
; %bb.6:
	mov	x23, x0
	str	x25, [sp, #16]                  ; 8-byte Folded Spill
	sxtw	x26, w26
	add	x1, sp, #24
	mov	x2, x26
	bl	_os_memcpy
	add	x0, x23, x26
	mov	x1, x27
	mov	x2, x24
	bl	_os_memcpy
Lloh7:
	adrp	x24, l_.str.2@PAGE
Lloh8:
	add	x24, x24, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	str	wzr, [x25, #4]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	cbz	x20, LBB0_13
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x25, x20
	ldr	x20, [x20, #32]
	ldr	w8, [x25]
	cmp	w8, w19
	b.gt	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
Lloh9:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh11:
	ldr	w27, [x8]
	ldr	w0, [x25, #16]
	bl	_inet_ntoa
	mov	x28, x0
	mov	x26, x25
	ldr	w0, [x26, #12]!
	bl	_ntohs
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x27
	mov	x1, x24
	mov	x2, x28
	bl	_wpa_printf
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	mov	w3, #0
	mov	x4, x26
	mov	w5, #16
	bl	_sendto
	tbz	x0, #63, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
Lloh12:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w27, [x8]
Lloh15:
	adrp	x8, _errno@GOTPAGE
Lloh16:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
	mov	x0, x27
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	ldr	w8, [x25, #4]
	add	w9, w8, #1
	str	w9, [x25, #4]
	cmp	w8, #10
	b.lt	LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w2, [x25, #8]
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	x1, x26
	bl	_wpa_supplicant_ctrl_iface_detach
	b	LBB0_8
LBB0_13:
	mov	x0, x23
	bl	_os_free
LBB0_14:
	ldr	x8, [sp, #88]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IFACE=%s <%d>"

l_.str.1:                               ; @.str.1
	.asciz	"<%d>"

	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.2:                               ; @.str.2
	.asciz	"CTRL_IFACE monitor send %s:%d"

	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
l_.str.3:                               ; @.str.3
	.asciz	"sendto(CTRL_IFACE monitor): %s"

	.comm	_errno,4,2                      ; @errno
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_INET6_ADDRSTRLEN,4,2           ; @INET6_ADDRSTRLEN
	.no_dead_strip	_wpa_supplicant_ctrl_iface_send
.subsections_via_symbols
