	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chan_supported
_chan_supported:                        ## @chan_supported
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %r8d
	testq	%r8, %r8
	je	LBB0_9
## %bb.1:
	movq	8(%rdi), %r9
	movq	_HOSTAPD_CHAN_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r10d, %r10d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r10
	cmpq	%r8, %r10
	je	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	%r10, %rcx
	shlq	$4, %rcx
	movl	(%r9,%rcx), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r9,%rcx), %rcx
	xorl	%edi, %edi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=2
	incq	%rdi
	cmpq	%rdi, %rax
	je	LBB0_8
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	%esi, (%rcx,%rdi,8)
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	testl	%edx, 4(%rcx,%rdi,8)
	jne	LBB0_7
## %bb.6:
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_9:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOSTAPD_CHAN_DISABLED,4,2      ## @HOSTAPD_CHAN_DISABLED
	.no_dead_strip	_chan_supported
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chan_supported
_chan_supported:                        ; @chan_supported
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cbz	w8, LBB0_9
; %bb.1:
	mov	x9, #0
	ldr	x10, [x0, #8]
Lloh0:
	adrp	x11, _HOSTAPD_CHAN_DISABLED@GOTPAGE
Lloh1:
	ldr	x11, [x11, _HOSTAPD_CHAN_DISABLED@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	cmp	x9, x8
	b.eq	LBB0_9
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	lsl	x12, x9, #4
	ldr	w12, [x10, x12]
	cmp	w12, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x13, x10, x9, lsl #4
	ldr	x13, [x13, #8]
	add	x13, x13, #4
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x13, x13, #8
	subs	x12, x12, #1
	b.eq	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	w14, [x13, #-4]
	cmp	w14, w1
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w14, [x13]
	tst	w11, w14
	b.ne	LBB0_5
; %bb.8:
	mov	w0, #1
	ret
LBB0_9:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HOSTAPD_CHAN_DISABLED,4,2      ; @HOSTAPD_CHAN_DISABLED
	.no_dead_strip	_chan_supported
.subsections_via_symbols
