	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dvb_frontend_get_frequency_limits
_dvb_frontend_get_frequency_limits:     ## @dvb_frontend_get_frequency_limits
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	24(%rdi), %rsi
	movq	32(%rdi), %r14
	movq	(%rdi), %rdi
	movq	8(%rbx), %r12
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	callq	_max
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, (%r15)
	movq	%r14, %rax
	testq	%r12, %r12
	je	LBB0_3
## %bb.1:
	testq	%r14, %r14
	je	LBB0_5
## %bb.2:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_min
LBB0_3:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, (%rcx)
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_6
## %bb.4:
	testq	%rax, %rax
	jne	LBB0_7
LBB0_6:
	movq	40(%rbx), %rax
	movl	(%rax), %edi
	movl	4(%rax), %edx
	movl	48(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
LBB0_7:
	movq	40(%rbx), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	movq	%r15, %r8
	movq	%r12, %r9
	callq	_dev_dbg
	movl	52(%rbx), %eax
	andl	$-4, %eax
	cmpl	$128, %eax
	jne	LBB0_18
## %bb.8:
	movq	_kHz@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_9
## %bb.10:
	cqto
	idivq	%rsi
	jmp	LBB0_11
LBB0_18:
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_21
## %bb.19:
	movq	16(%rbx), %rax
	jmp	LBB0_20
LBB0_5:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_7
	jmp	LBB0_6
LBB0_9:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
LBB0_11:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, (%rdx)
	movq	(%rcx), %rsi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_12
## %bb.13:
	cqto
	idivq	%rsi
	jmp	LBB0_14
LBB0_12:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
LBB0_14:
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, (%rdx)
	testq	%rsi, %rsi
	je	LBB0_21
## %bb.15:
	movq	16(%rbx), %rax
	movq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_16
## %bb.17:
	cqto
	idivq	%rcx
	jmp	LBB0_20
LBB0_16:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_20:
	movq	%rax, (%rsi)
LBB0_21:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DVB: adapter %i frontend %u frequency limits undefined - fix the driver\n"

L_.str.1:                               ## @.str.1
	.asciz	"frequency interval: tuner: %u...%u, frontend: %u...%u"

	.comm	_kHz,8,3                        ## @kHz
	.no_dead_strip	_dvb_frontend_get_frequency_limits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dvb_frontend_get_frequency_limits
_dvb_frontend_get_frequency_limits:     ; @dvb_frontend_get_frequency_limits
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	ldp	x23, x25, [x0, #24]
	ldp	x24, x26, [x0]
	mov	x0, x24
	mov	x1, x23
	bl	_max
	str	x0, [x22]
	mov	x0, x25
	cbz	x26, LBB0_3
; %bb.1:
	cbz	x25, LBB0_12
; %bb.2:
	mov	x0, x26
	mov	x1, x25
	bl	_min
LBB0_3:
	str	x0, [x21]
	ldr	x8, [x22]
	cmp	x8, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_5
LBB0_4:
	ldr	x8, [x20, #40]
	ldp	w0, w2, [x8]
	ldr	w3, [x20, #48]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
LBB0_5:
	ldr	x8, [x20, #40]
	ldr	w0, [x8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x23
	mov	x3, x25
	mov	x4, x24
	mov	x5, x26
	bl	_dev_dbg
	ldr	w8, [x20, #52]
	and	w8, w8, #0xfffffffc
	cmp	w8, #128
	b.ne	LBB0_8
; %bb.6:
Lloh4:
	adrp	x8, _kHz@GOTPAGE
Lloh5:
	ldr	x8, [x8, _kHz@GOTPAGEOFF]
	ldr	x9, [x8]
	ldr	x10, [x22]
	sdiv	x9, x10, x9
	str	x9, [x22]
	ldr	x9, [x8]
	ldr	x10, [x21]
	sdiv	x9, x10, x9
	str	x9, [x21]
	cbz	x19, LBB0_11
; %bb.7:
	ldr	x9, [x20, #16]
	ldr	x8, [x8]
	sdiv	x8, x9, x8
	b	LBB0_10
LBB0_8:
	cbz	x19, LBB0_11
; %bb.9:
	ldr	x8, [x20, #16]
LBB0_10:
	str	x8, [x19]
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_12:
	str	x26, [x21]
	ldr	x8, [x22]
	cbnz	x8, LBB0_5
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DVB: adapter %i frontend %u frequency limits undefined - fix the driver\n"

l_.str.1:                               ; @.str.1
	.asciz	"frequency interval: tuner: %u...%u, frontend: %u...%u"

	.comm	_kHz,8,3                        ; @kHz
	.no_dead_strip	_dvb_frontend_get_frequency_limits
.subsections_via_symbols
