	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt76x02_dfs_check_hw_pulse
_mt76x02_dfs_check_hw_pulse:            ## @mt76x02_dfs_check_hw_pulse
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %r8d
	xorl	%eax, %eax
	testl	%r8d, %r8d
	je	LBB0_39
## %bb.1:
	movl	4(%rsi), %edx
	testl	%edx, %edx
	je	LBB0_39
## %bb.2:
	movl	(%rdi), %ecx
	cmpl	$129, %ecx
	je	LBB0_19
## %bb.3:
	cmpl	$131, %ecx
	je	LBB0_15
## %bb.4:
	cmpl	$130, %ecx
	jne	LBB0_39
## %bb.5:
	cmpl	$3, 8(%rsi)
	jg	LBB0_39
## %bb.6:
	je	LBB0_40
## %bb.7:
	cmpl	$119, %edx
	jg	LBB0_12
## %bb.8:
	leal	-10200(%r8), %ecx
	cmpl	$-3400, %ecx                    ## imm = 0xF2B8
	ja	LBB0_39
## %bb.9:
	cmpl	$2900, %r8d                     ## imm = 0xB54
	jl	LBB0_39
## %bb.10:
	leal	-6400(%r8), %ecx
	cmpl	$-1700, %ecx                    ## imm = 0xF95C
	ja	LBB0_39
## %bb.11:
	xorl	%eax, %eax
	cmpl	$61601, %r8d                    ## imm = 0xF0A1
	jmp	LBB0_38
LBB0_19:
	movq	8(%rdi), %r9
	movl	$-5250, %ecx                    ## imm = 0xEB7E
	addl	(%r9), %ecx
	cmpl	$100, %ecx
	ja	LBB0_24
## %bb.20:
	cmpl	$130, %edx
	jg	LBB0_39
## %bb.21:
	cmpl	$28360, %r8d                    ## imm = 0x6EC8
	jl	LBB0_39
## %bb.22:
	leal	-76900(%r8), %ecx
	cmpl	$-48200, %ecx                   ## imm = 0xFFFF43B8
	ja	LBB0_39
## %bb.23:
	xorl	%eax, %eax
	cmpl	$76941, %r8d                    ## imm = 0x12C8D
	jmp	LBB0_38
LBB0_15:
	cmpl	$2, 8(%rsi)
	jg	LBB0_39
## %bb.16:
	cmpl	$4900, %r8d                     ## imm = 0x1324
	jl	LBB0_39
## %bb.17:
	leal	-12400(%r8), %ecx
	cmpl	$-2200, %ecx                    ## imm = 0xF768
	ja	LBB0_39
## %bb.18:
	xorl	%eax, %eax
	cmpl	$100101, %r8d                   ## imm = 0x18705
LBB0_38:
	setb	%al
LBB0_39:
	popq	%rbp
	retq
LBB0_24:
	cmpl	$3, 8(%rsi)
	jg	LBB0_39
## %bb.25:
	jne	LBB0_26
LBB0_40:
	popq	%rbp
	jmp	_mt76x02_dfs_check_chirp        ## TAILCALL
LBB0_12:
	cmpl	$129, %edx
	ja	LBB0_14
## %bb.13:
	addl	$-2900, %r8d                    ## imm = 0xF4AC
	xorl	%eax, %eax
	cmpl	$58701, %r8d                    ## imm = 0xE54D
	jmp	LBB0_38
LBB0_26:
	cmpl	$119, %edx
	jg	LBB0_33
## %bb.27:
	leal	-27560(%r8), %ecx
	cmpl	$-20760, %ecx                   ## imm = 0xAEE8
	ja	LBB0_39
## %bb.28:
	cmpl	$2900, %r8d                     ## imm = 0xB54
	jl	LBB0_39
## %bb.29:
	leal	-6400(%r8), %ecx
	cmpl	$-1700, %ecx                    ## imm = 0xF95C
	ja	LBB0_39
## %bb.30:
	leal	-28360(%r8), %ecx
	cmpl	$-400, %ecx                     ## imm = 0xFE70
	jbe	LBB0_31
	jmp	LBB0_39
LBB0_14:
	addl	$-3500, %r8d                    ## imm = 0xF254
	xorl	%eax, %eax
	cmpl	$6601, %r8d                     ## imm = 0x19C9
	jmp	LBB0_38
LBB0_33:
	cmpl	$129, %edx
	ja	LBB0_37
## %bb.34:
	leal	-28360(%r8), %ecx
	cmpl	$-400, %ecx                     ## imm = 0xFE70
	ja	LBB0_39
## %bb.35:
	cmpl	$2900, %r8d                     ## imm = 0xB54
	jl	LBB0_39
## %bb.36:
	leal	-27560(%r8), %ecx
	cmpl	$-17460, %ecx                   ## imm = 0xBBCC
	ja	LBB0_39
LBB0_31:
	leal	-79900(%r8), %ecx
	cmpl	$-51200, %ecx                   ## imm = 0xFFFF3800
	ja	LBB0_39
## %bb.32:
	xorl	%eax, %eax
	cmpl	$80101, %r8d                    ## imm = 0x138E5
	jmp	LBB0_38
LBB0_37:
	addl	$-3900, %r8d                    ## imm = 0xF0C4
	xorl	%eax, %eax
	cmpl	$6201, %r8d                     ## imm = 0x1839
	jmp	LBB0_38
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mt76x02_dfs_check_hw_pulse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt76x02_dfs_check_hw_pulse
_mt76x02_dfs_check_hw_pulse:            ; @mt76x02_dfs_check_hw_pulse
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	cbz	w8, LBB0_17
; %bb.1:
	ldr	w9, [x1, #4]
	cbz	w9, LBB0_17
; %bb.2:
	ldr	w10, [x0]
	cmp	w10, #129
	b.eq	LBB0_10
; %bb.3:
	cmp	w10, #131
	b.eq	LBB0_14
; %bb.4:
	cmp	w10, #130
	b.ne	LBB0_17
; %bb.5:
	ldr	w10, [x1, #8]
	cmp	w10, #3
	b.gt	LBB0_17
; %bb.6:
	b.eq	LBB0_19
; %bb.7:
	cmp	w9, #119
	b.gt	LBB0_20
; %bb.8:
	mov	w9, #-10200
	add	w9, w8, w9
	cmn	w9, #3400
	b.hi	LBB0_17
; %bb.9:
	mov	w9, #-6400
	add	w9, w8, w9
	mov	w10, #61601
	cmp	w8, w10
	cset	w10, lo
	cmn	w9, #1700
	csel	w9, wzr, w10, hi
	cmp	w8, #2900
	csel	w0, wzr, w9, lt
	ret
LBB0_10:
	ldr	x10, [x0, #8]
	ldr	w10, [x10]
	mov	w11, #-5250
	add	w10, w10, w11
	cmp	w10, #100
	b.hi	LBB0_16
; %bb.11:
	cmp	w9, #130
	b.gt	LBB0_17
; %bb.12:
	mov	w0, #0
	mov	w9, #28360
	cmp	w8, w9
	b.lt	LBB0_31
; %bb.13:
	sub	w9, w8, #19, lsl #12            ; =77824
	sub	w9, w9, #2076
	add	w9, w9, #3000
	mov	w10, #-48200
	mov	w11, #14565
	movk	w11, #1, lsl #16
	sub	w11, w11, #3160
	cmp	w8, w11
	cset	w8, lo
	cmp	w9, w10
	csel	w0, wzr, w8, hi
	ret
LBB0_14:
	ldr	w9, [x1, #8]
	cmp	w9, #2
	b.gt	LBB0_17
; %bb.15:
	mov	w9, #-12400
	add	w9, w8, w9
	mov	w10, #4900
	mov	w11, #34565
	movk	w11, #1, lsl #16
	cmp	w8, w11
	cset	w11, lo
	cmn	w9, #2200
	csel	w9, wzr, w11, hi
	cmp	w8, w10
	csel	w0, wzr, w9, lt
	ret
LBB0_16:
	ldr	w10, [x1, #8]
	cmp	w10, #3
	b.le	LBB0_18
LBB0_17:
	mov	w0, #0
	ret
LBB0_18:
	b.ne	LBB0_21
LBB0_19:
	b	_mt76x02_dfs_check_chirp
LBB0_20:
	sub	w10, w8, #3500
	mov	w11, #6601
	cmp	w10, w11
	cset	w10, lo
	sub	w8, w8, #2900
	mov	w11, #58701
	cmp	w8, w11
	cset	w8, lo
	cmp	w9, #129
	csel	w0, w10, w8, hi
	ret
LBB0_21:
	cmp	w9, #119
	b.gt	LBB0_26
; %bb.22:
	mov	w9, #-27560
	mov	w10, #-20760
	add	w9, w8, w9
	cmp	w9, w10
	b.hi	LBB0_17
; %bb.23:
	cmp	w8, #2900
	b.lt	LBB0_17
; %bb.24:
	mov	w0, #0
	mov	w9, #-6400
	add	w9, w8, w9
	cmn	w9, #1700
	b.hi	LBB0_31
; %bb.25:
	mov	w9, #-28360
	add	w9, w8, w9
	sub	w10, w8, #19, lsl #12           ; =77824
	sub	w10, w10, #2076
	mov	w11, #-51200
	mov	w12, #14565
	movk	w12, #1, lsl #16
	cmp	w8, w12
	cset	w8, lo
	cmp	w10, w11
	csel	w8, wzr, w8, hi
	cmn	w9, #400
	csel	w0, wzr, w8, hi
	ret
LBB0_26:
	cmp	w9, #129
	b.hi	LBB0_30
; %bb.27:
	mov	w9, #-28360
	add	w9, w8, w9
	cmn	w9, #400
	b.hi	LBB0_17
; %bb.28:
	mov	w0, #0
	cmp	w8, #2900
	b.lt	LBB0_31
; %bb.29:
	mov	w9, #-27560
	sub	w10, w8, #19, lsl #12           ; =77824
	sub	w10, w10, #2076
	mov	w11, #-17460
	mov	w12, #-51200
	mov	w13, #14565
	movk	w13, #1, lsl #16
	cmp	w8, w13
	cset	w13, lo
	cmp	w10, w12
	csel	w10, wzr, w13, hi
	add	w8, w8, w9
	cmp	w8, w11
	csel	w0, wzr, w10, hi
	ret
LBB0_30:
	sub	w8, w8, #3900
	mov	w9, #6201
	cmp	w8, w9
	cset	w0, lo
LBB0_31:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mt76x02_dfs_check_hw_pulse
.subsections_via_symbols
