	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlcore_set_pending_regdomain_ch ## -- Begin function wlcore_set_pending_regdomain_ch
	.p2align	4, 0x90
_wlcore_set_pending_regdomain_ch:       ## @wlcore_set_pending_regdomain_ch
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_WLCORE_QUIRK_REGDOMAIN_CONF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movl	%edx, %edi
	callq	_wlcore_get_reg_conf_ch_idx
	testl	%eax, %eax
	js	LBB0_3
## %bb.2:
	movq	_WL1271_MAX_CHANNELS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_3
## %bb.4:
	movq	8(%rbx), %rsi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	___set_bit_le                   ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLCORE_QUIRK_REGDOMAIN_CONF,4,2 ## @WLCORE_QUIRK_REGDOMAIN_CONF
	.comm	_WL1271_MAX_CHANNELS,4,2        ## @WL1271_MAX_CHANNELS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlcore_set_pending_regdomain_ch ; -- Begin function wlcore_set_pending_regdomain_ch
	.p2align	2
_wlcore_set_pending_regdomain_ch:       ; @wlcore_set_pending_regdomain_ch
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _WLCORE_QUIRK_REGDOMAIN_CONF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WLCORE_QUIRK_REGDOMAIN_CONF@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x0
	mov	x0, x2
	bl	_wlcore_get_reg_conf_ch_idx
	tbnz	w0, #31, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _WL1271_MAX_CHANNELS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WL1271_MAX_CHANNELS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.gt	LBB0_4
; %bb.3:
	ldr	x1, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___set_bit_le
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_WLCORE_QUIRK_REGDOMAIN_CONF,4,2 ; @WLCORE_QUIRK_REGDOMAIN_CONF
	.comm	_WL1271_MAX_CHANNELS,4,2        ; @WL1271_MAX_CHANNELS
.subsections_via_symbols
