	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ir_rx51_probe
_ir_rx51_probe:                         ## @ir_rx51_probe
	.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
	xorl	%esi, %esi
	callq	_pwm_get
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	addl	(%rax), %ecx
	je	LBB0_5
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_dev_err
	jmp	LBB0_5
LBB0_3:
	movq	%rbx, %rdi
	callq	_pwm_get_period
	movq	_NSEC_PER_SEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_DIV_ROUND_CLOSEST
	movq	_ir_rx51@GOTPCREL(%rip), %r15
	movl	%eax, 20(%r15)
	movq	%rbx, %rdi
	callq	_pwm_put
	movq	_CLOCK_MONOTONIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HRTIMER_MODE_REL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	16(%r15), %rdi
	callq	_hrtimer_init
	movq	_ir_rx51_timer_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	%r14, 8(%r15)
	movq	_RC_DRIVER_IR_RAW_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_devm_rc_allocate_device
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%r15, 24(%rax)
	movq	_ir_rx51_open@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rax)
	movq	_ir_rx51_release@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	_ir_rx51_tx@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movq	_ir_rx51_set_duty_cycle@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	_ir_rx51_set_tx_carrier@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	_KBUILD_MODNAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	%rax, (%r15)
	movq	%r14, %rdi
	movq	%rax, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_devm_rc_register_device        ## TAILCALL
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pwm_get failed: %d\n"

	.comm	_NSEC_PER_SEC,4,2               ## @NSEC_PER_SEC
	.comm	_ir_rx51,24,3                   ## @ir_rx51
	.comm	_CLOCK_MONOTONIC,4,2            ## @CLOCK_MONOTONIC
	.comm	_HRTIMER_MODE_REL,4,2           ## @HRTIMER_MODE_REL
	.comm	_ir_rx51_timer_cb,4,2           ## @ir_rx51_timer_cb
	.comm	_RC_DRIVER_IR_RAW_TX,4,2        ## @RC_DRIVER_IR_RAW_TX
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ir_rx51_open,4,2               ## @ir_rx51_open
	.comm	_ir_rx51_release,4,2            ## @ir_rx51_release
	.comm	_ir_rx51_tx,4,2                 ## @ir_rx51_tx
	.comm	_ir_rx51_set_duty_cycle,4,2     ## @ir_rx51_set_duty_cycle
	.comm	_ir_rx51_set_tx_carrier,4,2     ## @ir_rx51_set_tx_carrier
	.comm	_KBUILD_MODNAME,4,2             ## @KBUILD_MODNAME
	.no_dead_strip	_ir_rx51_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ir_rx51_probe
_ir_rx51_probe:                         ; @ir_rx51_probe
	.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	x19, x0
	mov	x1, #0
	bl	_pwm_get
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_PTR_ERR
	mov	x20, x0
Lloh0:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_6
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_dev_err
	b	LBB0_6
LBB0_3:
	mov	x0, x20
	bl	_pwm_get_period
Lloh5:
	adrp	x8, _NSEC_PER_SEC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NSEC_PER_SEC@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_DIV_ROUND_CLOSEST
Lloh8:
	adrp	x21, _ir_rx51@GOTPAGE
Lloh9:
	ldr	x21, [x21, _ir_rx51@GOTPAGEOFF]
	str	w0, [x21, #20]
	mov	x0, x20
	bl	_pwm_put
Lloh10:
	adrp	x8, _CLOCK_MONOTONIC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CLOCK_MONOTONIC@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _HRTIMER_MODE_REL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HRTIMER_MODE_REL@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	add	x0, x21, #16
	bl	_hrtimer_init
Lloh16:
	adrp	x8, _ir_rx51_timer_cb@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ir_rx51_timer_cb@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x21, #16]
	str	x19, [x21, #8]
Lloh19:
	adrp	x8, _RC_DRIVER_IR_RAW_TX@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RC_DRIVER_IR_RAW_TX@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_devm_rc_allocate_device
	cbz	x0, LBB0_5
; %bb.4:
	mov	x1, x0
	str	x21, [x0, #24]
Lloh22:
	adrp	x8, _ir_rx51_open@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ir_rx51_open@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _ir_rx51_release@GOTPAGE
Lloh26:
	ldr	x9, [x9, _ir_rx51_release@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
Lloh28:
	adrp	x10, _ir_rx51_tx@GOTPAGE
Lloh29:
	ldr	x10, [x10, _ir_rx51_tx@GOTPAGEOFF]
	stp	w9, w8, [x0, #16]
Lloh30:
	ldr	w8, [x10]
Lloh31:
	adrp	x9, _ir_rx51_set_duty_cycle@GOTPAGE
Lloh32:
	ldr	x9, [x9, _ir_rx51_set_duty_cycle@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
Lloh34:
	adrp	x8, _ir_rx51_set_tx_carrier@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ir_rx51_set_tx_carrier@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
Lloh37:
	adrp	x9, _KBUILD_MODNAME@GOTPAGE
Lloh38:
	ldr	x9, [x9, _KBUILD_MODNAME@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	stp	w9, w8, [x0]
	str	x0, [x21]
	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	_devm_rc_register_device
LBB0_5:
Lloh40:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_6:
	mov	x0, x20
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pwm_get failed: %d\n"

	.comm	_NSEC_PER_SEC,4,2               ; @NSEC_PER_SEC
	.comm	_ir_rx51,24,3                   ; @ir_rx51
	.comm	_CLOCK_MONOTONIC,4,2            ; @CLOCK_MONOTONIC
	.comm	_HRTIMER_MODE_REL,4,2           ; @HRTIMER_MODE_REL
	.comm	_ir_rx51_timer_cb,4,2           ; @ir_rx51_timer_cb
	.comm	_RC_DRIVER_IR_RAW_TX,4,2        ; @RC_DRIVER_IR_RAW_TX
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ir_rx51_open,4,2               ; @ir_rx51_open
	.comm	_ir_rx51_release,4,2            ; @ir_rx51_release
	.comm	_ir_rx51_tx,4,2                 ; @ir_rx51_tx
	.comm	_ir_rx51_set_duty_cycle,4,2     ; @ir_rx51_set_duty_cycle
	.comm	_ir_rx51_set_tx_carrier,4,2     ; @ir_rx51_set_tx_carrier
	.comm	_KBUILD_MODNAME,4,2             ; @KBUILD_MODNAME
	.no_dead_strip	_ir_rx51_probe
.subsections_via_symbols
