	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_supplicant_ctrl_iface_deinit ## -- Begin function wpa_supplicant_ctrl_iface_deinit
	.p2align	4, 0x90
_wpa_supplicant_ctrl_iface_deinit:      ## @wpa_supplicant_ctrl_iface_deinit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	testl	%edi, %edi
	js	LBB0_4
## %bb.1:
	callq	_eloop_unregister_read_sock
	cmpq	$0, 8(%rbx)
	je	LBB0_3
## %bb.2:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	xorl	%edi, %edi
	movl	$100000, %esi                   ## imm = 0x186A0
	callq	_os_sleep
LBB0_3:
	movl	(%rbx), %edi
	callq	_close
	movl	$-1, (%rbx)
LBB0_4:
	movq	8(%rbx), %rdi
	callq	_wpas_ctrl_iface_free_dst
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_os_free                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CTRL_IFACE wait for attached monitors to receive messages"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_supplicant_ctrl_iface_deinit ; -- Begin function wpa_supplicant_ctrl_iface_deinit
	.p2align	2
_wpa_supplicant_ctrl_iface_deinit:      ; @wpa_supplicant_ctrl_iface_deinit
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0]
	tbnz	w0, #31, LBB0_4
; %bb.1:
	bl	_eloop_unregister_read_sock
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	w0, #0
	mov	w1, #34464
	movk	w1, #1, lsl #16
	bl	_os_sleep
LBB0_3:
	ldr	w0, [x19]
	bl	_close
	mov	w8, #-1
	str	w8, [x19]
LBB0_4:
	ldr	x0, [x19, #8]
	bl	_wpas_ctrl_iface_free_dst
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_os_free
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CTRL_IFACE wait for attached monitors to receive messages"

.subsections_via_symbols
