	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acs_find_chan
_acs_find_chan:                         ## @acs_find_chan
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_5
## %bb.1:
	movq	8(%rax), %rax
	movq	_HOSTAPD_CHAN_DISABLED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %rax
	decq	%rcx
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testl	%edx, (%rax)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%esi, 4(%rax)
	jne	LBB0_4
## %bb.6:
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOSTAPD_CHAN_DISABLED,4,2      ## @HOSTAPD_CHAN_DISABLED
	.no_dead_strip	_acs_find_chan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acs_find_chan
_acs_find_chan:                         ; @acs_find_chan
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	ldr	w8, [x9]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	ldr	x0, [x9, #8]
Lloh0:
	adrp	x9, _HOSTAPD_CHAN_DISABLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HOSTAPD_CHAN_DISABLED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, #8
	subs	x8, x8, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x0]
	tst	w9, w10
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w10, [x0, #4]
	cmp	w10, w1
	b.ne	LBB0_2
; %bb.5:
	ret
LBB0_6:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HOSTAPD_CHAN_DISABLED,4,2      ; @HOSTAPD_CHAN_DISABLED
	.no_dead_strip	_acs_find_chan
.subsections_via_symbols
