	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_supplicant_ctrl_iface_attach
_wpa_supplicant_ctrl_iface_attach:      ## @wpa_supplicant_ctrl_iface_attach
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	$24, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	addq	$16, %rdi
	movq	%r12, %rsi
	movl	$16, %edx
	callq	_os_memcpy
	movl	%r15d, 12(%rbx)
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	(%r14), %rax
	movq	%rax, (%rbx)
	movq	%rbx, (%r14)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	4(%r12), %edi
	callq	_inet_ntoa
	movl	%eax, %ebx
	movl	(%r12), %edi
	callq	_ntohs
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_wpa_printf
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %eax
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CTRL_IFACE monitor attached %s:%d"

	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_INET6_ADDRSTRLEN,4,2           ## @INET6_ADDRSTRLEN
	.no_dead_strip	_wpa_supplicant_ctrl_iface_attach
.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_attach
_wpa_supplicant_ctrl_iface_attach:      ; @wpa_supplicant_ctrl_iface_attach
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	mov	w0, #24
	bl	_os_zalloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x22, x0
	add	x0, x0, #16
	mov	x1, x19
	mov	w2, #16
	bl	_os_memcpy
Lloh0:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w21, [x22, #8]
	ldr	x8, [x20]
	str	x8, [x22]
	str	x22, [x20]
Lloh3:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	ldr	w0, [x19, #4]
	bl	_inet_ntoa
	mov	x21, x0
	ldr	w0, [x19]
	bl	_ntohs
	mov	x3, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_wpa_printf
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CTRL_IFACE monitor attached %s:%d"

	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_INET6_ADDRSTRLEN,4,2           ; @INET6_ADDRSTRLEN
	.no_dead_strip	_wpa_supplicant_ctrl_iface_attach
.subsections_via_symbols
