	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostapd_global_ctrl_iface_interfaces
_hostapd_global_ctrl_iface_interfaces:  ## @hostapd_global_ctrl_iface_interfaces
	.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
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rdi, %r13
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rax
	movq	%rsi, %rdi
	movq	%rax, %rsi
	callq	_os_strstr
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_3
LBB0_1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_3:
	movq	(%r13), %rax
	movq	%r15, %rbx
	testq	%rax, %rax
	je	LBB0_15
## %bb.4:
	movslq	%r14d, %rcx
	addq	%r15, %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	xorl	%edx, %edx
	movq	%r15, %rbx
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%rdx
	cmpq	%rax, %rdx
	jae	LBB0_15
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	8(%r13), %rcx
	movq	(%rcx,%rdx,8), %r12
	cmpq	$0, (%r12)
	je	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r14d
	subl	%ebx, %r14d
	movq	8(%r12), %rax
	movq	(%rax), %rax
	movq	(%rax,%r13,8), %rax
	movl	8(%rax), %ecx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	(%rax), %r8
	testq	%r8, %r8
	leaq	L_.str.2(%rip), %rax
	cmoveq	%rax, %r8
	movq	%rbx, %rdi
	movl	%r14d, %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_os_snprintf
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=2
	movq	%rbx, %rdi
	movl	%r14d, %esi
	leaq	L_.str.3(%rip), %rdx
	xorl	%eax, %eax
	callq	_os_snprintf
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	%eax, %r15d
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_os_snprintf_error
	testq	%rax, %rax
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=2
	movslq	%r15d, %rax
	addq	%rax, %rbx
	incq	%r13
	cmpq	(%r12), %r13
	jb	LBB0_7
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13), %rax
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_11:
	movb	$0, (%rbx)
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_15:
	subl	%r15d, %ebx
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ctrl"

L_.str.1:                               ## @.str.1
	.asciz	"%s ctrl_iface=%s\n"

L_.str.2:                               ## @.str.2
	.asciz	"N/A"

L_.str.3:                               ## @.str.3
	.asciz	"%s\n"

	.no_dead_strip	_hostapd_global_ctrl_iface_interfaces
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostapd_global_ctrl_iface_interfaces
_hostapd_global_ctrl_iface_interfaces:  ; @hostapd_global_ctrl_iface_interfaces
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x23, x3
	mov	x22, x2
	mov	x24, x0
	cbz	x1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	mov	x0, x1
	mov	x1, x8
	bl	_os_strstr
	cmp	w0, #0
	cset	w26, ne
	b	LBB0_3
LBB0_2:
	mov	w26, #0
LBB0_3:
	ldr	x8, [x24]
	mov	x21, x22
	cbz	x8, LBB0_15
; %bb.4:
	mov	x27, #0
	add	x28, x22, w23, sxtw
Lloh2:
	adrp	x19, l_.str.2@PAGE
Lloh3:
	add	x19, x19, l_.str.2@PAGEOFF
	mov	x21, x22
Lloh4:
	adrp	x23, l_.str.1@PAGE
Lloh5:
	add	x23, x23, l_.str.1@PAGEOFF
	stp	x24, x22, [sp, #16]             ; 16-byte Folded Spill
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x27, x27, #1
	cmp	x27, x8
	b.hs	LBB0_15
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x9, [x24, #8]
	ldr	x20, [x9, x27, lsl #3]
	ldr	x9, [x20]
	cbz	x9, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x22, #0
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x8, [x8, x22, lsl #3]
	sub	w24, w28, w21
	ldr	w3, [x8, #8]
	cbz	w26, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x8, [x8]
	cmp	x8, #0
	csel	x8, x19, x8, eq
	str	x8, [sp]
	mov	x0, x21
	mov	x1, x24
	mov	x2, x23
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x21
	mov	x1, x24
Lloh6:
	adrp	x2, l_.str.3@PAGE
Lloh7:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=2
	bl	_os_snprintf
	mov	x25, x0
	mov	x0, x24
	mov	x1, x25
	bl	_os_snprintf_error
	cbnz	x0, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=2
	add	x21, x21, w25, sxtw
	add	x22, x22, #1
	ldr	x8, [x20]
	cmp	x22, x8
	b.lo	LBB0_8
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	ldp	x24, x22, [sp, #16]             ; 16-byte Folded Reload
	ldr	x8, [x24]
	b	LBB0_5
LBB0_14:
	strb	wzr, [x21]
	ldr	x22, [sp, #24]                  ; 8-byte Folded Reload
LBB0_15:
	sub	w0, w21, w22
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ctrl"

l_.str.1:                               ; @.str.1
	.asciz	"%s ctrl_iface=%s\n"

l_.str.2:                               ; @.str.2
	.asciz	"N/A"

l_.str.3:                               ; @.str.3
	.asciz	"%s\n"

	.no_dead_strip	_hostapd_global_ctrl_iface_interfaces
.subsections_via_symbols
