	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mceusb_set_rx_wideband
_mceusb_set_rx_wideband:                ## @mceusb_set_rx_wideband
	.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
	movq	(%rdi), %r14
	movq	_MCE_CMD_PORT_IR@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, -27(%rbp)
	movq	_MCE_CMD_SETIRRXPORTEN@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, -26(%rbp)
	movl	4(%r14), %edi
	xorl	%ebx, %ebx
	testl	%esi, %esi
	sete	%r15b
	setne	%bl
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movb	$2, %al
	subb	%r15b, %al
	movl	%ebx, (%r14)
	movb	%al, -25(%rbp)
	leaq	-27(%rbp), %rsi
	movq	%r14, %rdi
	movl	$3, %edx
	callq	_mce_command_out
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MCE_CMD_PORT_IR,4,2            ## @MCE_CMD_PORT_IR
	.comm	_MCE_CMD_SETIRRXPORTEN,4,2      ## @MCE_CMD_SETIRRXPORTEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"select %s-range receive sensor"

L_.str.1:                               ## @.str.1
	.asciz	"short"

L_.str.2:                               ## @.str.2
	.asciz	"long"

	.no_dead_strip	_mceusb_set_rx_wideband
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mceusb_set_rx_wideband
_mceusb_set_rx_wideband:                ; @mceusb_set_rx_wideband
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _MCE_CMD_PORT_IR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MCE_CMD_PORT_IR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	strb	w8, [sp, #13]
Lloh3:
	adrp	x8, _MCE_CMD_SETIRRXPORTEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MCE_CMD_SETIRRXPORTEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	strb	w8, [sp, #14]
	ldr	w0, [x19, #4]
	cmp	w1, #0
	cset	w20, ne
Lloh6:
	adrp	x8, l_.str.1@PAGE
Lloh7:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh8:
	adrp	x9, l_.str.2@PAGE
Lloh9:
	add	x9, x9, l_.str.2@PAGEOFF
	csel	x2, x9, x8, eq
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	w8, #1
	cinc	w21, w8, ne
	bl	_dev_dbg
	str	w20, [x19]
	strb	w21, [sp, #15]
	add	x1, sp, #13
	mov	x0, x19
	mov	w2, #3
	bl	_mce_command_out
	mov	w0, #0
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MCE_CMD_PORT_IR,4,2            ; @MCE_CMD_PORT_IR
	.comm	_MCE_CMD_SETIRRXPORTEN,4,2      ; @MCE_CMD_SETIRRXPORTEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"select %s-range receive sensor"

l_.str.1:                               ; @.str.1
	.asciz	"short"

l_.str.2:                               ; @.str.2
	.asciz	"long"

	.no_dead_strip	_mceusb_set_rx_wideband
.subsections_via_symbols
