	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function regdom_intersect
_regdom_intersect:                      ## @regdom_intersect
	.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
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rdi, %rdi
	je	LBB0_26
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_26
## %bb.2:
	movq	%rdi, %r15
	movl	(%rdi), %ecx
	xorl	%r14d, %r14d
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.4:
	movl	(%rbx), %eax
	leaq	-80(%rbp), %r13
	xorl	%edi, %edi
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%rdi
	movl	%ecx, %esi
	cmpq	%rsi, %rdi
	jae	LBB0_11
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	leaq	(,%rdi,4), %rax
	addq	16(%r15), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%rbx), %rsi
	addq	%r12, %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_reg_rules_intersect
	cmpl	$1, %eax
	adcl	$0, %r14d
	incq	%r15
	movl	(%rbx), %eax
	addq	$4, %r12
	cmpq	%rax, %r15
	jb	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_10
LBB0_11:
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.12:
	leal	24(,%r14,4), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	xorl	%r13d, %r13d
	movq	%rax, %rcx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_3
## %bb.13:
	movl	(%r15), %ecx
	testl	%ecx, %ecx
	je	LBB0_23
## %bb.14:
	movl	(%rbx), %eax
	xorl	%esi, %esi
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_15:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	testl	%eax, %eax
	je	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpl	%r14d, %r13d
	jae	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	leaq	(,%rsi,4), %rax
	addq	16(%r15), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$1, %r15d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_15 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%rbx), %rsi
	addq	%r12, %rsi
	movl	%r13d, %edx
	shlq	$2, %rdx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	16(%rax), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_reg_rules_intersect
	cmpl	$1, %eax
	adcl	$0, %r13d
	movl	(%rbx), %eax
	cmpq	%rax, %r15
	jae	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	addq	$4, %r12
	incq	%r15
	cmpl	%r14d, %r13d
	jb	LBB0_18
LBB0_20:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %ecx
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
LBB0_21:                                ##   in Loop: Header=BB0_15 Depth=1
	incq	%rsi
	movl	%ecx, %edx
	cmpq	%rdx, %rsi
	jae	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpl	%r14d, %r13d
	jb	LBB0_15
LBB0_23:
	cmpl	%r14d, %r13d
	jne	LBB0_24
## %bb.25:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%r14d, (%rcx)
	movq	8(%rcx), %rax
	movb	$57, (%rax)
	movq	8(%rcx), %rax
	movb	$56, 1(%rax)
	jmp	LBB0_26
LBB0_24:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
LBB0_3:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_26:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.no_dead_strip	_regdom_intersect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function regdom_intersect
_regdom_intersect:                      ; @regdom_intersect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, #0
	cbz	x0, LBB0_25
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_25
; %bb.2:
	mov	x20, x0
	ldr	w9, [x0]
	cbz	w9, LBB0_24
; %bb.3:
	mov	x22, #0
	mov	w23, #0
	ldr	w8, [x19]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	cmp	x22, w9, uxtw
	b.hs	LBB0_9
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	cbz	w8, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x24, #0
	mov	x25, #0
	ldr	x8, [x20, #16]
	add	x21, x8, x22, lsl #2
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #16]
	add	x1, x8, x24
	add	x2, sp, #8
	mov	x0, x21
	bl	_reg_rules_intersect
	cmp	w0, #0
	cinc	w23, w23, eq
	add	x25, x25, #1
	ldr	w8, [x19]
	add	x24, x24, #4
	cmp	x25, x8
	b.lo	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x20]
	b	LBB0_4
LBB0_9:
	cbz	w23, LBB0_24
; %bb.10:
	lsl	w8, w23, #2
	add	w0, w8, #24
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kzalloc
	mov	x21, x0
	cbz	x0, LBB0_25
; %bb.11:
	ldr	w9, [x20]
	cbz	w9, LBB0_22
; %bb.12:
	mov	x25, #0
	mov	w24, #0
	ldr	w8, [x19]
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	cbz	w8, LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	cmp	w24, w23
	b.hs	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x26, #0
	ldr	x8, [x20, #16]
	add	x22, x8, x25, lsl #2
	mov	w27, #1
LBB0_16:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #16]
	add	x1, x8, x26
	ldr	x8, [x21, #16]
	add	x2, x8, w24, uxtw #2
	mov	x0, x22
	bl	_reg_rules_intersect
	cmp	w0, #0
	cinc	w24, w24, eq
	ldr	w8, [x19]
	add	x26, x26, #4
	cmp	x27, x8
	add	x27, x27, #1
	ccmp	w24, w23, #2, lo
	b.lo	LBB0_16
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w9, [x20]
LBB0_18:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x25, x25, #1
	cmp	x25, w9, uxtw
	b.hs	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_13 Depth=1
	cmp	w24, w23
	b.lo	LBB0_13
LBB0_20:
	cmp	w24, w23
	b.ne	LBB0_23
LBB0_21:
	str	w23, [x21]
	ldr	x8, [x21, #8]
	mov	w9, #57
	strb	w9, [x8]
	ldr	x8, [x21, #8]
	mov	w9, #56
	strb	w9, [x8, #1]
	b	LBB0_25
LBB0_22:
	mov	w24, #0
	cmp	w24, w23
	b.eq	LBB0_21
LBB0_23:
	mov	x0, x21
	bl	_kfree
LBB0_24:
	mov	x21, #0
LBB0_25:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.no_dead_strip	_regdom_intersect
.subsections_via_symbols
