	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtw_vif_port_config            ## -- Begin function rtw_vif_port_config
	.p2align	4, 0x90
_rtw_vif_port_config:                   ## @rtw_vif_port_config
	.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
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_PORT_SET_MAC_ADDR@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movl	28(%rax), %esi
	movl	28(%rbx), %edx
	movq	%r14, %rdi
	callq	_rtw_vif_write_addr
LBB0_2:
	movq	_PORT_SET_BSSID@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_4
## %bb.3:
	movq	8(%rbx), %rax
	movl	24(%rax), %esi
	movl	24(%rbx), %edx
	movq	%r14, %rdi
	callq	_rtw_vif_write_addr
LBB0_4:
	movq	_PORT_SET_NET_TYPE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_6
## %bb.5:
	movq	8(%rbx), %rax
	movl	16(%rax), %esi
	movl	20(%rax), %edx
	movl	20(%rbx), %ecx
	movq	%r14, %rdi
	callq	_rtw_write32_mask
LBB0_6:
	movq	_PORT_SET_AID@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_8
## %bb.7:
	movq	8(%rbx), %rax
	movl	8(%rax), %esi
	movl	12(%rax), %edx
	movl	16(%rbx), %ecx
	movq	%r14, %rdi
	callq	_rtw_write32_mask
LBB0_8:
	movq	_PORT_SET_BCN_CTRL@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_9
## %bb.10:
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edx
	movl	(%rbx), %ecx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtw_write8_mask                ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PORT_SET_MAC_ADDR,4,2          ## @PORT_SET_MAC_ADDR
	.comm	_PORT_SET_BSSID,4,2             ## @PORT_SET_BSSID
	.comm	_PORT_SET_NET_TYPE,4,2          ## @PORT_SET_NET_TYPE
	.comm	_PORT_SET_AID,4,2               ## @PORT_SET_AID
	.comm	_PORT_SET_BCN_CTRL,4,2          ## @PORT_SET_BCN_CTRL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtw_vif_port_config            ; -- Begin function rtw_vif_port_config
	.p2align	2
_rtw_vif_port_config:                   ; @rtw_vif_port_config
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _PORT_SET_MAC_ADDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PORT_SET_MAC_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	w1, [x8, #28]
	ldr	w2, [x20, #28]
	mov	x0, x19
	bl	_rtw_vif_write_addr
LBB0_2:
Lloh3:
	adrp	x8, _PORT_SET_BSSID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PORT_SET_BSSID@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x20, #8]
	ldr	w1, [x8, #24]
	ldr	w2, [x20, #24]
	mov	x0, x19
	bl	_rtw_vif_write_addr
LBB0_4:
Lloh6:
	adrp	x8, _PORT_SET_NET_TYPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PORT_SET_NET_TYPE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_6
; %bb.5:
	ldr	x8, [x20, #8]
	ldp	w1, w2, [x8, #16]
	ldr	w3, [x20, #20]
	mov	x0, x19
	bl	_rtw_write32_mask
LBB0_6:
Lloh9:
	adrp	x8, _PORT_SET_AID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PORT_SET_AID@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_8
; %bb.7:
	ldr	x8, [x20, #8]
	ldp	w1, w2, [x8, #8]
	ldr	w3, [x20, #16]
	mov	x0, x19
	bl	_rtw_write32_mask
LBB0_8:
Lloh12:
	adrp	x8, _PORT_SET_BCN_CTRL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PORT_SET_BCN_CTRL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_10
; %bb.9:
	ldr	x8, [x20, #8]
	ldp	w1, w2, [x8]
	ldr	w3, [x20]
	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	_rtw_write8_mask
LBB0_10:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PORT_SET_MAC_ADDR,4,2          ; @PORT_SET_MAC_ADDR
	.comm	_PORT_SET_BSSID,4,2             ; @PORT_SET_BSSID
	.comm	_PORT_SET_NET_TYPE,4,2          ; @PORT_SET_NET_TYPE
	.comm	_PORT_SET_AID,4,2               ; @PORT_SET_AID
	.comm	_PORT_SET_BCN_CTRL,4,2          ; @PORT_SET_BCN_CTRL
.subsections_via_symbols
