	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function start_ctrl_iface
_start_ctrl_iface:                      ## @start_ctrl_iface
	.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
	movq	8(%rdi), %rax
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%rdi, %r15
	cmpq	$0, (%rdi)
	je	LBB0_8
## %bb.3:
	movq	16(%r15), %rcx
	movq	(%rcx), %r12
	movq	%r12, %rdi
	callq	*%rax
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	(%r15), %rbx
	jae	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r15), %rax
	movq	16(%r15), %rcx
	movq	(%rcx,%rbx,8), %r12
	movq	%r12, %rdi
	callq	*(%rax)
	incq	%rbx
	testq	%rax, %rax
	je	LBB0_5
LBB0_7:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r12), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movl	$-1, %r14d
LBB0_8:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to setup control interface for %s"

	.no_dead_strip	_start_ctrl_iface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function start_ctrl_iface
_start_ctrl_iface:                      ; @start_ctrl_iface
	.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
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_8
; %bb.1:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.2:
	mov	x19, x0
	ldr	x9, [x0]
	cbz	x9, LBB0_8
; %bb.3:
	ldr	x9, [x19, #16]
	ldr	x20, [x9]
	mov	x0, x20
	blr	x8
	cbnz	x0, LBB0_7
; %bb.4:
	mov	w21, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	cmp	x21, x8
	b.hs	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldp	x8, x9, [x19, #8]
	ldr	x8, [x8]
	ldr	x20, [x9, x21, lsl #3]
	mov	x0, x20
	blr	x8
	add	x21, x21, #1
	cbz	x0, LBB0_5
LBB0_7:
Lloh0:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x20]
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	w0, #-1
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to setup control interface for %s"

	.no_dead_strip	_start_ctrl_iface
.subsections_via_symbols
