	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_add_countryie
_ieee80211_add_countryie:               ## @ieee80211_add_countryie
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	16(%rsi), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	(%rbx), %rax
	cmpq	8(%rbx), %rax
	je	LBB0_5
## %bb.2:
	movq	_M_80211_NODE_IE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rsi, %rdi
	movl	%eax, %esi
	callq	_IEEE80211_FREE
LBB0_3:
	movq	%rbx, %rdi
	callq	_ieee80211_alloc_countryie
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %rsi
	movq	8(%rbx), %rax
	movq	%rax, (%rbx)
LBB0_5:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_add_appie                      ## TAILCALL
LBB0_6:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_80211_NODE_IE,4,2            ## @M_80211_NODE_IE
	.no_dead_strip	_ieee80211_add_countryie
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_add_countryie
_ieee80211_add_countryie:               ; @ieee80211_add_countryie
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_3
; %bb.1:
	ldp	x9, x10, [x20]
	cmp	x9, x10
	b.eq	LBB0_5
; %bb.2:
Lloh0:
	adrp	x9, _M_80211_NODE_IE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _M_80211_NODE_IE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x8
	bl	_IEEE80211_FREE
LBB0_3:
	mov	x0, x20
	bl	_ieee80211_alloc_countryie
	str	x0, [x20, #16]
	cbz	x0, LBB0_6
; %bb.4:
	mov	x8, x0
	ldr	x9, [x20, #8]
	str	x9, [x20]
LBB0_5:
	mov	x0, x19
	mov	x1, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_add_appie
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_M_80211_NODE_IE,4,2            ; @M_80211_NODE_IE
	.no_dead_strip	_ieee80211_add_countryie
.subsections_via_symbols
