	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl18xx_pre_pkt_send
_wl18xx_pre_pkt_send:                   ## @wl18xx_pre_pkt_send
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_WLCORE_QUIRK_TX_PAD_LAST_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	8(%rdi), %rax
	movq	%rsi, %rcx
	subq	%rdx, %rcx
	movq	_WL18XX_TX_CTRL_NOT_PADDED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	andl	%edx, (%rcx,%rax)
	movq	_WL12XX_BUS_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rsi, %rdi
	movl	%eax, %esi
	popq	%rbp
	jmp	_ALIGN                          ## TAILCALL
LBB0_1:
	movq	%rsi, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLCORE_QUIRK_TX_PAD_LAST_FRAME,4,2 ## @WLCORE_QUIRK_TX_PAD_LAST_FRAME
	.comm	_WL18XX_TX_CTRL_NOT_PADDED,4,2  ## @WL18XX_TX_CTRL_NOT_PADDED
	.comm	_WL12XX_BUS_BLOCK_SIZE,4,2      ## @WL12XX_BUS_BLOCK_SIZE
	.no_dead_strip	_wl18xx_pre_pkt_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl18xx_pre_pkt_send
_wl18xx_pre_pkt_send:                   ; @wl18xx_pre_pkt_send
	.cfi_startproc
; %bb.0:
	mov	x8, x1
	ldr	w9, [x0]
Lloh0:
	adrp	x10, _WLCORE_QUIRK_TX_PAD_LAST_FRAME@GOTPAGE
Lloh1:
	ldr	x10, [x10, _WLCORE_QUIRK_TX_PAD_LAST_FRAME@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
	ldr	x9, [x0, #8]
	sub	x10, x8, x2
Lloh3:
	adrp	x11, _WL18XX_TX_CTRL_NOT_PADDED@GOTPAGE
Lloh4:
	ldr	x11, [x11, _WL18XX_TX_CTRL_NOT_PADDED@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	ldr	w12, [x10, x9]
	bic	w11, w12, w11
	str	w11, [x10, x9]
Lloh6:
	adrp	x9, _WL12XX_BUS_BLOCK_SIZE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WL12XX_BUS_BLOCK_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
	mov	x0, x8
	b	_ALIGN
LBB0_2:
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_WLCORE_QUIRK_TX_PAD_LAST_FRAME,4,2 ; @WLCORE_QUIRK_TX_PAD_LAST_FRAME
	.comm	_WL18XX_TX_CTRL_NOT_PADDED,4,2  ; @WL18XX_TX_CTRL_NOT_PADDED
	.comm	_WL12XX_BUS_BLOCK_SIZE,4,2      ; @WL12XX_BUS_BLOCK_SIZE
	.no_dead_strip	_wl18xx_pre_pkt_send
.subsections_via_symbols
