	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phy_info_iftype_copy
_phy_info_iftype_copy:                  ## @phy_info_iftype_copy
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	addl	$-128, %esi
	cmpl	$3, %esi
	ja	LBB0_9
## %bb.1:
	movq	%rdx, %r15
	movq	%rdi, %r14
	movslq	%esi, %rax
	leaq	l_switch.table.phy_info_iftype_copy(%rip), %rdx
	movq	(%rdx,%rax,8), %rax
	movl	(%rax), %eax
	movq	(%rcx,%rax,8), %rdi
	callq	_nla_get_flag
	testl	%eax, %eax
	je	LBB0_9
## %bb.2:
	movl	$1, (%r14)
	movq	_NL80211_BAND_IFTYPE_ATTR_HE_CAP_PHY@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	(%r15,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_nla_len
	cmpq	$8, %rax
	movl	$8, %ebx
	cmovbq	%rax, %rbx
	movq	24(%r14), %r12
	movq	(%r13), %rax
	movq	(%r15,%rax,8), %rdi
	callq	_nla_data
	movq	%r12, %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	callq	_os_memcpy
LBB0_4:
	movq	_NL80211_BAND_IFTYPE_ATTR_HE_CAP_MAC@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	(%r15,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_nla_len
	cmpq	$8, %rax
	movl	$8, %ebx
	cmovbq	%rax, %rbx
	movq	16(%r14), %r12
	movq	(%r13), %rax
	movq	(%r15,%rax,8), %rdi
	callq	_nla_data
	movq	%r12, %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	callq	_os_memcpy
LBB0_6:
	movq	_NL80211_BAND_IFTYPE_ATTR_HE_CAP_MCS_SET@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	(%r15,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_nla_len
	cmpq	$8, %rax
	movl	$8, %ebx
	cmovbq	%rax, %rbx
	movq	8(%r14), %r12
	movq	(%r13), %rax
	movq	(%r15,%rax,8), %rdi
	callq	_nla_data
	movq	%r12, %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	callq	_os_memcpy
LBB0_8:
	movq	_NL80211_BAND_IFTYPE_ATTR_HE_CAP_PPE@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	(%r15,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.10:
	callq	_nla_len
	cmpq	$4, %rax
	movl	$4, %ebx
	cmovbq	%rax, %rbx
	addq	$4, %r14
	movq	(%r12), %rax
	movq	(%r15,%rax,8), %rdi
	callq	_nla_data
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_os_memcpy                      ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_IFTYPE_STATION,4,2     ## @NL80211_IFTYPE_STATION
	.comm	_NL80211_IFTYPE_ADHOC,4,2       ## @NL80211_IFTYPE_ADHOC
	.comm	_NL80211_IFTYPE_AP,4,2          ## @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_MESH_POINT,4,2  ## @NL80211_IFTYPE_MESH_POINT
	.comm	_NL80211_BAND_IFTYPE_ATTR_HE_CAP_PHY,8,3 ## @NL80211_BAND_IFTYPE_ATTR_HE_CAP_PHY
	.comm	_NL80211_BAND_IFTYPE_ATTR_HE_CAP_MAC,8,3 ## @NL80211_BAND_IFTYPE_ATTR_HE_CAP_MAC
	.comm	_NL80211_BAND_IFTYPE_ATTR_HE_CAP_MCS_SET,8,3 ## @NL80211_BAND_IFTYPE_ATTR_HE_CAP_MCS_SET
	.comm	_NL80211_BAND_IFTYPE_ATTR_HE_CAP_PPE,8,3 ## @NL80211_BAND_IFTYPE_ATTR_HE_CAP_PPE
	.no_dead_strip	_phy_info_iftype_copy
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.phy_info_iftype_copy
l_switch.table.phy_info_iftype_copy:
	.quad	_NL80211_IFTYPE_MESH_POINT
	.quad	_NL80211_IFTYPE_STATION
	.quad	_NL80211_IFTYPE_ADHOC
	.quad	_NL80211_IFTYPE_AP

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phy_info_iftype_copy
_phy_info_iftype_copy:                  ; @phy_info_iftype_copy
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	w8, w1, #128
	cmp	w8, #3
	b.hi	LBB0_10
; %bb.1:
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x9, l_switch.table.phy_info_iftype_copy@PAGE
Lloh1:
	add	x9, x9, l_switch.table.phy_info_iftype_copy@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w8, [x8]
	ldr	x0, [x3, x8, lsl #3]
	bl	_nla_get_flag
	cbz	w0, LBB0_10
; %bb.2:
	mov	w8, #1
	str	w8, [x20]
Lloh2:
	adrp	x23, _NL80211_BAND_IFTYPE_ATTR_HE_CAP_PHY@GOTPAGE
Lloh3:
	ldr	x23, [x23, _NL80211_BAND_IFTYPE_ATTR_HE_CAP_PHY@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x0, [x19, x8, lsl #3]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_nla_len
	mov	w8, #8
	cmp	x0, #8
	csel	x21, x0, x8, lo
	ldr	x22, [x20, #24]
	ldr	x8, [x23]
	ldr	x0, [x19, x8, lsl #3]
	bl	_nla_data
	mov	x1, x0
	mov	x0, x22
	mov	x2, x21
	bl	_os_memcpy
LBB0_4:
Lloh4:
	adrp	x23, _NL80211_BAND_IFTYPE_ATTR_HE_CAP_MAC@GOTPAGE
Lloh5:
	ldr	x23, [x23, _NL80211_BAND_IFTYPE_ATTR_HE_CAP_MAC@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x0, [x19, x8, lsl #3]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_nla_len
	mov	w8, #8
	cmp	x0, #8
	csel	x21, x0, x8, lo
	ldr	x22, [x20, #16]
	ldr	x8, [x23]
	ldr	x0, [x19, x8, lsl #3]
	bl	_nla_data
	mov	x1, x0
	mov	x0, x22
	mov	x2, x21
	bl	_os_memcpy
LBB0_6:
Lloh6:
	adrp	x23, _NL80211_BAND_IFTYPE_ATTR_HE_CAP_MCS_SET@GOTPAGE
Lloh7:
	ldr	x23, [x23, _NL80211_BAND_IFTYPE_ATTR_HE_CAP_MCS_SET@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x0, [x19, x8, lsl #3]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_nla_len
	mov	w8, #8
	cmp	x0, #8
	csel	x21, x0, x8, lo
	ldr	x22, [x20, #8]
	ldr	x8, [x23]
	ldr	x0, [x19, x8, lsl #3]
	bl	_nla_data
	mov	x1, x0
	mov	x0, x22
	mov	x2, x21
	bl	_os_memcpy
LBB0_8:
Lloh8:
	adrp	x22, _NL80211_BAND_IFTYPE_ATTR_HE_CAP_PPE@GOTPAGE
Lloh9:
	ldr	x22, [x22, _NL80211_BAND_IFTYPE_ATTR_HE_CAP_PPE@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x0, [x19, x8, lsl #3]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_nla_len
	mov	w8, #4
	cmp	x0, #4
	csel	x21, x0, x8, lo
	add	x20, x20, #4
	ldr	x8, [x22]
	ldr	x0, [x19, x8, lsl #3]
	bl	_nla_data
	mov	x1, x0
	mov	x0, x20
	mov	x2, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_os_memcpy
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_IFTYPE_STATION,4,2     ; @NL80211_IFTYPE_STATION
	.comm	_NL80211_IFTYPE_ADHOC,4,2       ; @NL80211_IFTYPE_ADHOC
	.comm	_NL80211_IFTYPE_AP,4,2          ; @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_MESH_POINT,4,2  ; @NL80211_IFTYPE_MESH_POINT
	.comm	_NL80211_BAND_IFTYPE_ATTR_HE_CAP_PHY,8,3 ; @NL80211_BAND_IFTYPE_ATTR_HE_CAP_PHY
	.comm	_NL80211_BAND_IFTYPE_ATTR_HE_CAP_MAC,8,3 ; @NL80211_BAND_IFTYPE_ATTR_HE_CAP_MAC
	.comm	_NL80211_BAND_IFTYPE_ATTR_HE_CAP_MCS_SET,8,3 ; @NL80211_BAND_IFTYPE_ATTR_HE_CAP_MCS_SET
	.comm	_NL80211_BAND_IFTYPE_ATTR_HE_CAP_PPE,8,3 ; @NL80211_BAND_IFTYPE_ATTR_HE_CAP_PPE
	.no_dead_strip	_phy_info_iftype_copy
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.phy_info_iftype_copy
l_switch.table.phy_info_iftype_copy:
	.quad	_NL80211_IFTYPE_MESH_POINT
	.quad	_NL80211_IFTYPE_STATION
	.quad	_NL80211_IFTYPE_ADHOC
	.quad	_NL80211_IFTYPE_AP

.subsections_via_symbols
