	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nl80211_send_reg_change_event  ## -- Begin function nl80211_send_reg_change_event
	.p2align	4, 0x90
_nl80211_send_reg_change_event:         ## @nl80211_send_reg_change_event
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_NLMSG_DEFAULT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_nlmsg_new
	testq	%rax, %rax
	je	LBB0_21
## %bb.1:
	movq	%rax, %rbx
	movq	_NL80211_CMD_REG_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_nl80211hdr_put
	testq	%rax, %rax
	je	LBB0_19
## %bb.2:
	movq	%rax, %r15
	movq	_NL80211_ATTR_REG_INITIATOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%r14), %edx
	movq	%rbx, %rdi
	callq	_nla_put_u8
	testq	%rax, %rax
	jne	LBB0_18
## %bb.3:
	movq	(%r14), %rax
	movb	(%rax), %cl
	cmpb	$57, %cl
	je	LBB0_8
## %bb.4:
	cmpb	$48, %cl
	jne	LBB0_11
## %bb.5:
	cmpb	$48, 1(%rax)
	jne	LBB0_11
## %bb.6:
	movq	_NL80211_ATTR_REG_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NL80211_REGDOM_TYPE_WORLD@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movb	1(%rax), %al
	cmpb	$56, %al
	je	LBB0_12
## %bb.9:
	cmpb	$57, %al
	jne	LBB0_11
## %bb.10:
	movq	_NL80211_ATTR_REG_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NL80211_REGDOM_TYPE_CUSTOM_WORLD@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_11:
	cmpq	$0, 16(%r14)
	je	LBB0_13
LBB0_12:
	movq	_NL80211_ATTR_REG_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NL80211_REGDOM_TYPE_INTERSECTION@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_nla_put_u8
	testq	%rax, %rax
	jne	LBB0_18
LBB0_16:
	movq	8(%r14), %rdx
	movq	_WIPHY_IDX_INVALID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	je	LBB0_20
## %bb.17:
	movq	_NL80211_ATTR_WIPHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_18
LBB0_20:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_genlmsg_end
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	_nl80211_regulatory_mcgrp@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_genlmsg_multicast_allns
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rcu_read_unlock                ## TAILCALL
LBB0_13:
	movq	_NL80211_ATTR_REG_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NL80211_REGDOM_TYPE_COUNTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_nla_put_u8
	testq	%rax, %rax
	jne	LBB0_18
## %bb.14:
	movq	_NL80211_ATTR_REG_ALPHA2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %rdx
	movq	%rbx, %rdi
	callq	_nla_put_string
	testq	%rax, %rax
	je	LBB0_16
LBB0_18:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_genlmsg_cancel
LBB0_19:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nlmsg_free                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NLMSG_DEFAULT_SIZE,4,2         ## @NLMSG_DEFAULT_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_NL80211_CMD_REG_CHANGE,4,2     ## @NL80211_CMD_REG_CHANGE
	.comm	_NL80211_ATTR_REG_INITIATOR,4,2 ## @NL80211_ATTR_REG_INITIATOR
	.comm	_NL80211_ATTR_REG_TYPE,4,2      ## @NL80211_ATTR_REG_TYPE
	.comm	_NL80211_REGDOM_TYPE_WORLD,4,2  ## @NL80211_REGDOM_TYPE_WORLD
	.comm	_NL80211_REGDOM_TYPE_CUSTOM_WORLD,4,2 ## @NL80211_REGDOM_TYPE_CUSTOM_WORLD
	.comm	_NL80211_REGDOM_TYPE_INTERSECTION,4,2 ## @NL80211_REGDOM_TYPE_INTERSECTION
	.comm	_NL80211_REGDOM_TYPE_COUNTRY,4,2 ## @NL80211_REGDOM_TYPE_COUNTRY
	.comm	_NL80211_ATTR_REG_ALPHA2,4,2    ## @NL80211_ATTR_REG_ALPHA2
	.comm	_WIPHY_IDX_INVALID,8,3          ## @WIPHY_IDX_INVALID
	.comm	_NL80211_ATTR_WIPHY,4,2         ## @NL80211_ATTR_WIPHY
	.comm	_nl80211_regulatory_mcgrp,4,2   ## @nl80211_regulatory_mcgrp
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nl80211_send_reg_change_event  ; -- Begin function nl80211_send_reg_change_event
	.p2align	2
_nl80211_send_reg_change_event:         ; @nl80211_send_reg_change_event
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _NLMSG_DEFAULT_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NLMSG_DEFAULT_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_nlmsg_new
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
Lloh6:
	adrp	x8, _NL80211_CMD_REG_CHANGE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NL80211_CMD_REG_CHANGE@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	bl	_nl80211hdr_put
	cbz	x0, LBB0_20
; %bb.2:
	mov	x21, x0
Lloh9:
	adrp	x8, _NL80211_ATTR_REG_INITIATOR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NL80211_ATTR_REG_INITIATOR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w2, [x20, #24]
	mov	x0, x19
	bl	_nla_put_u8
	cbnz	x0, LBB0_19
; %bb.3:
	ldr	x8, [x20]
	ldrb	w9, [x8]
	cmp	w9, #57
	b.eq	LBB0_8
; %bb.4:
	cmp	w9, #48
	b.ne	LBB0_11
; %bb.5:
	ldrb	w8, [x8, #1]
	cmp	w8, #48
	b.ne	LBB0_11
; %bb.6:
Lloh12:
	adrp	x8, _NL80211_ATTR_REG_TYPE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NL80211_ATTR_REG_TYPE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _NL80211_REGDOM_TYPE_WORLD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NL80211_REGDOM_TYPE_WORLD@GOTPAGEOFF]
	b	LBB0_13
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldrb	w8, [x8, #1]
	cmp	w8, #56
	b.eq	LBB0_12
; %bb.9:
	cmp	w8, #57
	b.ne	LBB0_11
; %bb.10:
Lloh17:
	adrp	x8, _NL80211_ATTR_REG_TYPE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NL80211_ATTR_REG_TYPE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _NL80211_REGDOM_TYPE_CUSTOM_WORLD@GOTPAGE
Lloh21:
	ldr	x8, [x8, _NL80211_REGDOM_TYPE_CUSTOM_WORLD@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_17
LBB0_12:
Lloh22:
	adrp	x8, _NL80211_ATTR_REG_TYPE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _NL80211_ATTR_REG_TYPE@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	adrp	x8, _NL80211_REGDOM_TYPE_INTERSECTION@GOTPAGE
Lloh26:
	ldr	x8, [x8, _NL80211_REGDOM_TYPE_INTERSECTION@GOTPAGEOFF]
LBB0_13:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_nla_put_u8
	cbnz	x0, LBB0_19
LBB0_14:
	ldr	x2, [x20, #8]
Lloh27:
	adrp	x8, _WIPHY_IDX_INVALID@GOTPAGE
Lloh28:
	ldr	x8, [x8, _WIPHY_IDX_INVALID@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	cmp	x2, x8
	b.eq	LBB0_16
; %bb.15:
Lloh30:
	adrp	x8, _NL80211_ATTR_WIPHY@GOTPAGE
Lloh31:
	ldr	x8, [x8, _NL80211_ATTR_WIPHY@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nla_put_u32
	cbnz	x0, LBB0_19
LBB0_16:
	mov	x0, x19
	mov	x1, x21
	bl	_genlmsg_end
	bl	_rcu_read_lock
Lloh33:
	adrp	x8, _nl80211_regulatory_mcgrp@GOTPAGE
Lloh34:
	ldr	x8, [x8, _nl80211_regulatory_mcgrp@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
Lloh36:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh37:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh38:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_genlmsg_multicast_allns
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_rcu_read_unlock
LBB0_17:
Lloh39:
	adrp	x8, _NL80211_ATTR_REG_TYPE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _NL80211_ATTR_REG_TYPE@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
Lloh42:
	adrp	x8, _NL80211_REGDOM_TYPE_COUNTRY@GOTPAGE
Lloh43:
	ldr	x8, [x8, _NL80211_REGDOM_TYPE_COUNTRY@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_nla_put_u8
	cbnz	x0, LBB0_19
; %bb.18:
Lloh45:
	adrp	x8, _NL80211_ATTR_REG_ALPHA2@GOTPAGE
Lloh46:
	ldr	x8, [x8, _NL80211_ATTR_REG_ALPHA2@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	ldr	x2, [x20]
	mov	x0, x19
	bl	_nla_put_string
	cbz	x0, LBB0_14
LBB0_19:
	mov	x0, x19
	mov	x1, x21
	bl	_genlmsg_cancel
LBB0_20:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_nlmsg_free
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_NLMSG_DEFAULT_SIZE,4,2         ; @NLMSG_DEFAULT_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_NL80211_CMD_REG_CHANGE,4,2     ; @NL80211_CMD_REG_CHANGE
	.comm	_NL80211_ATTR_REG_INITIATOR,4,2 ; @NL80211_ATTR_REG_INITIATOR
	.comm	_NL80211_ATTR_REG_TYPE,4,2      ; @NL80211_ATTR_REG_TYPE
	.comm	_NL80211_REGDOM_TYPE_WORLD,4,2  ; @NL80211_REGDOM_TYPE_WORLD
	.comm	_NL80211_REGDOM_TYPE_CUSTOM_WORLD,4,2 ; @NL80211_REGDOM_TYPE_CUSTOM_WORLD
	.comm	_NL80211_REGDOM_TYPE_INTERSECTION,4,2 ; @NL80211_REGDOM_TYPE_INTERSECTION
	.comm	_NL80211_REGDOM_TYPE_COUNTRY,4,2 ; @NL80211_REGDOM_TYPE_COUNTRY
	.comm	_NL80211_ATTR_REG_ALPHA2,4,2    ; @NL80211_ATTR_REG_ALPHA2
	.comm	_WIPHY_IDX_INVALID,8,3          ; @WIPHY_IDX_INVALID
	.comm	_NL80211_ATTR_WIPHY,4,2         ; @NL80211_ATTR_WIPHY
	.comm	_nl80211_regulatory_mcgrp,4,2   ; @nl80211_regulatory_mcgrp
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
.subsections_via_symbols
