	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpc18xx_pconf_set_pin
_lpc18xx_pconf_set_pin:                 ## @lpc18xx_pconf_set_pin
	.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
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$7, %esi
	ja	LBB0_23
## %bb.1:
	movq	%rcx, %rax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rsi,4), %rsi
	addq	%rcx, %rsi
	jmpq	*%rsi
LBB0_9:
	movl	(%r9), %ecx
	movq	_TYPE_HD@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %ecx
	jne	LBB0_11
## %bb.10:
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_24
LBB0_23:
	movl	(%rdi), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_24
LBB0_12:
	movq	_LPC18XX_SCU_PIN_ZIF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%edx, %edx
	jne	LBB0_8
	jmp	LBB0_6
LBB0_4:
	movq	_LPC18XX_SCU_PIN_EZI@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_22:
	movl	%edx, %esi
	movl	%r8d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_lpc18xx_pconf_set_gpio_pin_int ## TAILCALL
LBB0_13:
	movl	(%r9), %ecx
	movq	_TYPE_HD@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %ecx
	jne	LBB0_14
## %bb.15:
	movq	_LPC18XX_SCU_PIN_EHD_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	(%rax), %esi
	movl	%esi, (%rax)
	leal	-4(%rdx), %ebx
	movl	%ebx, %ecx
	rorl	%ecx
	cmpl	$8, %ecx
	ja	LBB0_21
## %bb.16:
	leaq	LJTI0_1(%rip), %r8
	movslq	(%r8,%rcx,4), %rcx
	addq	%r8, %rcx
	jmpq	*%rcx
LBB0_17:
	addl	$-5, %edx
LBB0_18:
	addl	$-5, %edx
LBB0_19:
	addl	$-7, %edx
	movl	%edx, %ebx
LBB0_20:
	movq	_LPC18XX_SCU_PIN_EHD_POS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %ebx
	orl	%esi, %ebx
	movl	%ebx, (%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_26
LBB0_7:
	movq	_LPC18XX_SCU_PIN_EPUN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	jmp	LBB0_8
LBB0_3:
	movq	_LPC18XX_SCU_PIN_EPD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	jmp	LBB0_6
LBB0_2:
	movq	_LPC18XX_SCU_PIN_EPD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	(%rax), %ecx
	movl	%ecx, (%rax)
	movq	_LPC18XX_SCU_PIN_EPUN@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_26
LBB0_11:
	movq	_LPC18XX_SCU_PIN_EHS@GOTPCREL(%rip), %rcx
LBB0_5:
	movl	(%rcx), %ecx
	testl	%edx, %edx
	je	LBB0_8
LBB0_6:
	orl	%ecx, (%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_26
LBB0_8:
	notl	%ecx
	andl	%ecx, (%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_26
LBB0_14:
	movl	(%rdi), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_24:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_25:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_26:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_21:
	movl	(%rdi), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_25
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_12
	.long	L0_0_set_4
	.long	L0_0_set_22
	.long	L0_0_set_13
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_2
.set L0_1_set_20, LBB0_20-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_19, LBB0_19-LJTI0_1
.set L0_1_set_18, LBB0_18-LJTI0_1
.set L0_1_set_17, LBB0_17-LJTI0_1
LJTI0_1:
	.long	L0_1_set_20
	.long	L0_1_set_21
	.long	L0_1_set_19
	.long	L0_1_set_21
	.long	L0_1_set_21
	.long	L0_1_set_18
	.long	L0_1_set_21
	.long	L0_1_set_21
	.long	L0_1_set_17
	.end_data_region
                                        ## -- End function
	.comm	_LPC18XX_SCU_PIN_EPD,4,2        ## @LPC18XX_SCU_PIN_EPD
	.comm	_LPC18XX_SCU_PIN_EPUN,4,2       ## @LPC18XX_SCU_PIN_EPUN
	.comm	_LPC18XX_SCU_PIN_EZI,4,2        ## @LPC18XX_SCU_PIN_EZI
	.comm	_TYPE_HD,4,2                    ## @TYPE_HD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Slew rate unsupported on high-drive pins\n"

	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.comm	_LPC18XX_SCU_PIN_EHS,4,2        ## @LPC18XX_SCU_PIN_EHS
	.comm	_LPC18XX_SCU_PIN_ZIF,4,2        ## @LPC18XX_SCU_PIN_ZIF
L_.str.1:                               ## @.str.1
	.asciz	"Drive strength available only on high-drive pins\n"

	.comm	_LPC18XX_SCU_PIN_EHD_MASK,4,2   ## @LPC18XX_SCU_PIN_EHD_MASK
L_.str.2:                               ## @.str.2
	.asciz	"Drive strength %u unsupported\n"

	.comm	_LPC18XX_SCU_PIN_EHD_POS,4,2    ## @LPC18XX_SCU_PIN_EHD_POS
L_.str.3:                               ## @.str.3
	.asciz	"Property not supported\n"

	.no_dead_strip	_lpc18xx_pconf_set_pin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lpc18xx_pconf_set_pin
_lpc18xx_pconf_set_pin:                 ; @lpc18xx_pconf_set_pin
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
                                        ; kill: def $w2 killed $w2 def $x2
	sub	w8, w1, #128
	cmp	w8, #7
	b.hi	LBB0_4
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x5]
Lloh2:
	adrp	x9, _TYPE_HD@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TYPE_HD@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_20
; %bb.3:
	ldr	w0, [x0]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_25
LBB0_4:
	ldr	w0, [x0]
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_25
LBB0_5:
Lloh9:
	adrp	x8, _LPC18XX_SCU_PIN_ZIF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LPC18XX_SCU_PIN_ZIF@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cbz	w2, LBB0_21
LBB0_6:
	mov	w0, #0
	b	LBB0_17
LBB0_7:
Lloh12:
	adrp	x8, _LPC18XX_SCU_PIN_EZI@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LPC18XX_SCU_PIN_EZI@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cbnz	w2, LBB0_21
	b	LBB0_6
LBB0_8:
	mov	x1, x2
	mov	x2, x4
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_lpc18xx_pconf_set_gpio_pin_int
LBB0_9:
	ldr	w8, [x5]
Lloh15:
	adrp	x9, _TYPE_HD@GOTPAGE
Lloh16:
	ldr	x9, [x9, _TYPE_HD@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_24
; %bb.10:
Lloh18:
	adrp	x8, _LPC18XX_SCU_PIN_EHD_MASK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LPC18XX_SCU_PIN_EHD_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	w9, [x3]
	bic	w8, w9, w8
	str	w8, [x3]
	sub	w9, w2, #4
	ror	w10, w9, #1
	cmp	w10, #8
	b.hi	LBB0_27
; %bb.11:
Lloh21:
	adrp	x11, lJTI0_1@PAGE
Lloh22:
	add	x11, x11, lJTI0_1@PAGEOFF
	adr	x12, LBB0_12
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_12:
	sub	w2, w2, #5
LBB0_13:
	sub	w2, w2, #5
LBB0_14:
	sub	w9, w2, #7
LBB0_15:
	mov	w0, #0
Lloh23:
	adrp	x10, _LPC18XX_SCU_PIN_EHD_POS@GOTPAGE
Lloh24:
	ldr	x10, [x10, _LPC18XX_SCU_PIN_EHD_POS@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	b	LBB0_23
LBB0_16:
	mov	w0, #0
Lloh26:
	adrp	x8, _LPC18XX_SCU_PIN_EPUN@GOTPAGE
Lloh27:
	ldr	x8, [x8, _LPC18XX_SCU_PIN_EPUN@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
LBB0_17:
	ldr	w9, [x3]
	bic	w8, w9, w8
	str	w8, [x3]
	b	LBB0_26
LBB0_18:
	mov	w0, #0
Lloh29:
	adrp	x8, _LPC18XX_SCU_PIN_EPD@GOTPAGE
Lloh30:
	ldr	x8, [x8, _LPC18XX_SCU_PIN_EPD@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	b	LBB0_22
LBB0_19:
	mov	w0, #0
Lloh32:
	adrp	x8, _LPC18XX_SCU_PIN_EPD@GOTPAGE
Lloh33:
	ldr	x8, [x8, _LPC18XX_SCU_PIN_EPD@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	ldr	w9, [x3]
	bic	w8, w9, w8
	str	w8, [x3]
Lloh35:
	adrp	x9, _LPC18XX_SCU_PIN_EPUN@GOTPAGE
Lloh36:
	ldr	x9, [x9, _LPC18XX_SCU_PIN_EPUN@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	b	LBB0_23
LBB0_20:
Lloh38:
	adrp	x8, _LPC18XX_SCU_PIN_EHS@GOTPAGE
Lloh39:
	ldr	x8, [x8, _LPC18XX_SCU_PIN_EHS@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	cbz	w2, LBB0_6
LBB0_21:
	mov	w0, #0
LBB0_22:
	ldr	w9, [x3]
LBB0_23:
	orr	w8, w9, w8
	str	w8, [x3]
	b	LBB0_26
LBB0_24:
	ldr	w0, [x0]
Lloh41:
	adrp	x1, l_.str.1@PAGE
Lloh42:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_25:
	bl	_dev_err
Lloh43:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh44:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_26:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_27:
	ldr	w0, [x0]
	str	x2, [sp]
Lloh46:
	adrp	x1, l_.str.2@PAGE
Lloh47:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_25
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_19-LBB0_2)>>2
lJTI0_1:
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_27-LBB0_12)>>2
	.byte	(LBB0_14-LBB0_12)>>2
	.byte	(LBB0_27-LBB0_12)>>2
	.byte	(LBB0_27-LBB0_12)>>2
	.byte	(LBB0_13-LBB0_12)>>2
	.byte	(LBB0_27-LBB0_12)>>2
	.byte	(LBB0_27-LBB0_12)>>2
	.byte	(LBB0_12-LBB0_12)>>2
                                        ; -- End function
	.comm	_LPC18XX_SCU_PIN_EPD,4,2        ; @LPC18XX_SCU_PIN_EPD
	.comm	_LPC18XX_SCU_PIN_EPUN,4,2       ; @LPC18XX_SCU_PIN_EPUN
	.comm	_LPC18XX_SCU_PIN_EZI,4,2        ; @LPC18XX_SCU_PIN_EZI
	.comm	_TYPE_HD,4,2                    ; @TYPE_HD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Slew rate unsupported on high-drive pins\n"

	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.comm	_LPC18XX_SCU_PIN_EHS,4,2        ; @LPC18XX_SCU_PIN_EHS
	.comm	_LPC18XX_SCU_PIN_ZIF,4,2        ; @LPC18XX_SCU_PIN_ZIF
l_.str.1:                               ; @.str.1
	.asciz	"Drive strength available only on high-drive pins\n"

	.comm	_LPC18XX_SCU_PIN_EHD_MASK,4,2   ; @LPC18XX_SCU_PIN_EHD_MASK
l_.str.2:                               ; @.str.2
	.asciz	"Drive strength %u unsupported\n"

	.comm	_LPC18XX_SCU_PIN_EHD_POS,4,2    ; @LPC18XX_SCU_PIN_EHD_POS
l_.str.3:                               ; @.str.3
	.asciz	"Property not supported\n"

	.no_dead_strip	_lpc18xx_pconf_set_pin
.subsections_via_symbols
