	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function samsung_report_fixup
_samsung_report_fixup:                  ## @samsung_report_fixup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	cmpl	$135, %edx
	je	LBB0_16
## %bb.1:
	cmpl	$203, %edx
	je	LBB0_11
## %bb.2:
	cmpl	$184, %edx
	jne	LBB0_21
## %bb.3:
	cmpl	$37, 700(%rbx)
	jne	LBB0_21
## %bb.4:
	cmpl	$64, 704(%rbx)
	jne	LBB0_21
## %bb.5:
	cmpl	$117, 708(%rbx)
	jne	LBB0_21
## %bb.6:
	cmpl	$48, 712(%rbx)
	jne	LBB0_21
## %bb.7:
	cmpl	$149, 716(%rbx)
	jne	LBB0_21
## %bb.8:
	cmpl	$1, 720(%rbx)
	jne	LBB0_21
## %bb.9:
	cmpl	$64, 728(%rbx)
	jne	LBB0_21
## %bb.10:
	leaq	L_.str(%rip), %rsi
	movl	$184, %edx
	callq	_dev_info
	movl	$255, 704(%rbx)
	movl	$8, 712(%rbx)
	movl	$6, 720(%rbx)
	movl	$66, 728(%rbx)
	jmp	LBB0_21
LBB0_16:
	cmpl	$21, 496(%rbx)
	jne	LBB0_21
## %bb.17:
	cmpl	$0, 500(%rbx)
	jne	LBB0_21
## %bb.18:
	cmpl	$37, 504(%rbx)
	jne	LBB0_21
## %bb.19:
	cmpl	$17, 508(%rbx)
	jne	LBB0_21
## %bb.20:
	leaq	L_.str(%rip), %rsi
	movl	$135, %edx
	callq	_dev_info
	movl	$1, 500(%rbx)
	movl	$14, 508(%rbx)
	jmp	LBB0_21
LBB0_11:
	cmpl	$21, 768(%rbx)
	jne	LBB0_21
## %bb.12:
	cmpl	$0, 772(%rbx)
	jne	LBB0_21
## %bb.13:
	cmpl	$37, 776(%rbx)
	jne	LBB0_21
## %bb.14:
	cmpl	$18, 780(%rbx)
	jne	LBB0_21
## %bb.15:
	leaq	L_.str(%rip), %rsi
	movl	$203, %edx
	callq	_dev_info
	movl	$1, 772(%rbx)
	movl	$15, 780(%rbx)
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fixing up Samsung IrDA %d byte report descriptor\n"

	.no_dead_strip	_samsung_report_fixup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function samsung_report_fixup
_samsung_report_fixup:                  ; @samsung_report_fixup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	cmp	w2, #135
	b.eq	LBB0_11
; %bb.1:
	cmp	w2, #203
	b.eq	LBB0_16
; %bb.2:
	cmp	w2, #184
	b.ne	LBB0_21
; %bb.3:
	ldr	w8, [x19, #700]
	cmp	w8, #37
	b.ne	LBB0_21
; %bb.4:
	ldr	w8, [x19, #704]
	cmp	w8, #64
	b.ne	LBB0_21
; %bb.5:
	ldr	w8, [x19, #708]
	cmp	w8, #117
	b.ne	LBB0_21
; %bb.6:
	ldr	w8, [x19, #712]
	cmp	w8, #48
	b.ne	LBB0_21
; %bb.7:
	ldr	w8, [x19, #716]
	cmp	w8, #149
	b.ne	LBB0_21
; %bb.8:
	ldr	w8, [x19, #720]
	cmp	w8, #1
	b.ne	LBB0_21
; %bb.9:
	ldr	w8, [x19, #728]
	cmp	w8, #64
	b.ne	LBB0_21
; %bb.10:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #184
	bl	_dev_info
	mov	w8, #255
	str	w8, [x19, #704]
	mov	w8, #8
	str	w8, [x19, #712]
	mov	w8, #6
	str	w8, [x19, #720]
	mov	w8, #66
	str	w8, [x19, #728]
	b	LBB0_21
LBB0_11:
	ldr	w8, [x19, #496]
	cmp	w8, #21
	b.ne	LBB0_21
; %bb.12:
	ldr	w8, [x19, #500]
	cbnz	w8, LBB0_21
; %bb.13:
	ldr	w8, [x19, #504]
	cmp	w8, #37
	b.ne	LBB0_21
; %bb.14:
	ldr	w8, [x19, #508]
	cmp	w8, #17
	b.ne	LBB0_21
; %bb.15:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #135
	bl	_dev_info
	mov	w8, #1
	str	w8, [x19, #500]
	mov	w8, #14
	str	w8, [x19, #508]
	b	LBB0_21
LBB0_16:
	ldr	w8, [x19, #768]
	cmp	w8, #21
	b.ne	LBB0_21
; %bb.17:
	ldr	w8, [x19, #772]
	cbnz	w8, LBB0_21
; %bb.18:
	ldr	w8, [x19, #776]
	cmp	w8, #37
	b.ne	LBB0_21
; %bb.19:
	ldr	w8, [x19, #780]
	cmp	w8, #18
	b.ne	LBB0_21
; %bb.20:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #203
	bl	_dev_info
	mov	w8, #1
	str	w8, [x19, #772]
	mov	w8, #15
	str	w8, [x19, #780]
LBB0_21:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fixing up Samsung IrDA %d byte report descriptor\n"

	.no_dead_strip	_samsung_report_fixup
.subsections_via_symbols
