	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_reg_rule_max_eirp
_nl80211_reg_rule_max_eirp:             ## @nl80211_reg_rule_max_eirp
	.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	(%rcx), %r8
	movq	(%r8), %rax
	testq	%rax, %rax
	je	LBB0_19
## %bb.1:
	movq	8(%rcx), %r9
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r8), %rax
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	cmpq	%rax, %r14
	jae	LBB0_19
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	%r14, %rcx
	shlq	$4, %rcx
	movl	(%r9,%rcx), %r11d
	testl	%r11d, %r11d
	jle	LBB0_18
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r9,%rcx), %r10
	cmpl	$1, %r11d
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, %r11b
	je	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	shlq	$4, %r12
	movq	8(%r10,%r12), %rax
	leaq	-10(%rax), %rcx
	cmpq	%rdi, %rcx
	jl	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	addq	$10, %rax
	cmpq	%rsi, %rax
	jg	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdx, (%r10,%r12)
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r11d, %r15d
	andl	$-2, %r15d
	leaq	24(%r10), %rax
	xorl	%r12d, %r12d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=2
	addq	$2, %r12
	addq	$32, %rax
	cmpq	%r12, %r15
	je	LBB0_13
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-16(%rax), %rbx
	leaq	-10(%rbx), %rcx
	cmpq	%rdi, %rcx
	jl	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	addq	$10, %rbx
	cmpq	%rsi, %rbx
	jg	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	%rdx, -24(%rax)
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=2
	movq	(%rax), %rbx
	leaq	-10(%rbx), %rcx
	cmpq	%rdi, %rcx
	jl	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=2
	addq	$10, %rbx
	cmpq	%rsi, %rbx
	jg	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	%rdx, -8(%rax)
	jmp	LBB0_12
LBB0_19:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nl80211_reg_rule_max_eirp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_reg_rule_max_eirp
_nl80211_reg_rule_max_eirp:             ; @nl80211_reg_rule_max_eirp
	.cfi_startproc
; %bb.0:
	ldr	x8, [x3]
	ldr	x13, [x8]
	cbz	x13, LBB0_29
; %bb.1:
	mov	x9, #0
	ldr	x10, [x3, #8]
	dup.2d	v0, x0
	dup.2d	v1, x1
	mov	w11, #8
	mov	x12, #-10
	dup.2d	v2, x12
	mov	w12, #10
	dup.2d	v3, x12
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x13, [x8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #1
	cmp	x9, x13
	b.hs	LBB0_29
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
	lsl	x12, x9, #4
	ldr	w12, [x10, x12]
	cmp	w12, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x13, x10, x9, lsl #4
	ldr	x13, [x13, #8]
	cmp	w12, #9
	b.hs	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x14, #0
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x13, x13, x14, lsl #4
	add	x13, x13, #8
	sub	x12, x12, x14
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	x13, x13, #16
	subs	x12, x12, #1
	b.eq	LBB0_2
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x14, [x13]
	sub	x15, x14, #10
	add	x14, x14, #10
	cmp	x15, x0
	ccmp	x14, x1, #0, ge
	b.gt	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	stur	x2, [x13, #-8]
	b	LBB0_8
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ands	x14, x12, #0x7
	csel	x14, x11, x14, eq
	sub	x14, x12, x14
	add	x15, x13, #64
	mov	x16, x14
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	add	x15, x15, #128
	subs	x16, x16, #8
	b.eq	LBB0_7
LBB0_13:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x17, x15, #56
	ld2.2d	{ v4, v5 }, [x17]
	add.2d	v6, v4, v2
	cmge.2d	v6, v6, v0
	add.2d	v4, v4, v3
	cmge.2d	v4, v1, v4
	and.16b	v4, v6, v4
	xtn.2s	v4, v4
	fmov	w17, s4
	tbz	w17, #0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	stur	x2, [x15, #-64]
LBB0_15:                                ;   in Loop: Header=BB0_13 Depth=2
	sub	x17, x15, #24
	mov.s	w3, v4[1]
	tbz	w3, #0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=2
	stur	x2, [x15, #-48]
LBB0_17:                                ;   in Loop: Header=BB0_13 Depth=2
	ld2.2d	{ v4, v5 }, [x17]
	add.2d	v6, v4, v2
	cmge.2d	v6, v6, v0
	add.2d	v4, v4, v3
	cmge.2d	v4, v1, v4
	and.16b	v4, v6, v4
	xtn.2s	v4, v4
	fmov	w17, s4
	tbz	w17, #0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_13 Depth=2
	stur	x2, [x15, #-32]
LBB0_19:                                ;   in Loop: Header=BB0_13 Depth=2
	mov.s	w17, v4[1]
	tbz	w17, #0, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_13 Depth=2
	stur	x2, [x15, #-16]
LBB0_21:                                ;   in Loop: Header=BB0_13 Depth=2
	add	x17, x15, #8
	ld2.2d	{ v4, v5 }, [x17]
	add.2d	v6, v4, v2
	cmge.2d	v6, v6, v0
	add.2d	v4, v4, v3
	cmge.2d	v4, v1, v4
	and.16b	v4, v6, v4
	xtn.2s	v4, v4
	fmov	w17, s4
	tbz	w17, #0, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_13 Depth=2
	str	x2, [x15]
LBB0_23:                                ;   in Loop: Header=BB0_13 Depth=2
	mov.s	w17, v4[1]
	tbz	w17, #0, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_13 Depth=2
	str	x2, [x15, #16]
LBB0_25:                                ;   in Loop: Header=BB0_13 Depth=2
	add	x17, x15, #40
	ld2.2d	{ v4, v5 }, [x17]
	add.2d	v6, v4, v2
	cmge.2d	v6, v6, v0
	add.2d	v4, v4, v3
	cmge.2d	v4, v1, v4
	and.16b	v4, v6, v4
	xtn.2s	v4, v4
	fmov	w17, s4
	tbz	w17, #0, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_13 Depth=2
	str	x2, [x15, #32]
LBB0_27:                                ;   in Loop: Header=BB0_13 Depth=2
	mov.s	w17, v4[1]
	tbz	w17, #0, LBB0_12
; %bb.28:                               ;   in Loop: Header=BB0_13 Depth=2
	str	x2, [x15, #48]
	b	LBB0_12
LBB0_29:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nl80211_reg_rule_max_eirp
.subsections_via_symbols
